Is it possible to launch an app on ios device using shell scripting as we do it on ios simulator?
2 Answers
Take a look at fruitstrap : https://github.com/ghughes/fruitstrap
Edit : since Xcode 5 (and Xcode Server) you can tell to xcodebuild which device you want to launch app on : https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html
xcodebuild -destination "name=KenjiPhone5" -scheme AppName test
The "install" action doesn't install/update app on the device, but the test one does it.
4 Comments
make debug start a gdb session, maybe you can hack it to only launch the app and then leave gdb without killing the app...It is not possible to load app via script in device.
I think there is no such facility provided by Apple. And if you want to submit the app on app-store then you need to follow all the set of rules provided by Apple.
Hope this helps.