1

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.

Ibolit
  • 9,218
  • 7
  • 52
  • 96
  • Have u checked the following sof http://stackoverflow.com/questions/14535392/how-to-intall-an-ipa-app-file-into-iphone-with-command-line/14652288#14652288 – casillas Mar 23 '15 at 15:54
  • @casillas As I said, i don't want to use third party solutions. I am now looking at OS X server + Xcode Server. I will report when I succeed or fail. – Ibolit Mar 23 '15 at 16:03
  • Have you solved the problem? I am encountering exact same issue. – Bubu Feb 17 '20 at 21:11
  • The same question from 2023 - it writes "install succeeded", but actually no app on device - how to solve it? – iago849 Jul 21 '23 at 07:21

1 Answers1

1

You can try using xcodebuild test "parameters". Your app will be installed and then you can run your instrumentation tests.