简体   繁体   中英

xcodebuild install doesn't seem to work for iOS device

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM