Reputation: 9720
I need to install my app to a device from a command line (for CI purposes). To that end i am using xcodebuild install -scheme MyScheme -project Maps.xcodeproj CODE_SIGN_IDENTITY="iPhone Developer: me" -destination 'platform=iOS,id=xxxxxxxx'
When I run the command with the necessary keys (the scheme and the signing identity), the command completes successfully and reports "** INSTALL SUCCEEDED **
", however, the app doesn't appear on the device.
I have seen the third party apps that claim to install your apps on devices, however, since they use private features, I am reluctant to use them.
Upvotes: 1
Views: 1326
Reputation: 11
You can try using xcodebuild test "parameters". Your app will be installed and then you can run your instrumentation tests.
Upvotes: 1