简体   繁体   中英

How to deploy app in ios simulator(Xcode 6.0.1)

I have istalled Xcode 6.0.1 in my Mac machine and i have an application with name 203327FE-CFEC-4333-AEA3-EF030B303BAB . Earlier in iOS 7 simulator i used to copy this folder inside ~/Library/Application Support/iOS Simulator/7.0/Applications/ and when i start the iOS Simulator i can see my app in the simulator. But after updating to XCODE 6 i am not able to find 8.0 folder inside the above simulator folder.

How can i install my custom app on new simulator?

You should use Xcode's 'Build & Run' feature to install and run your app. If that is not an option available to you, you can bundle your app yourself and use simctl (new in Xcode 6.0) to install your app. Example:

xcrun simctl list # get the UDID
xcrun simctl install [Device UDID] /path/to/MyGame.app
xcrun simctl launch [Device UDID] com.mycompany.mygame

If you have a newer version of Xcode, you can use the special token "booted" in place of the UDID to install/launch using the currently booted device.

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