![](/img/trans.png)
[英]Running a project build in iOS5/xcode 4.2 on iOS simulator 4.2/xcode3.2.5
[英]Running xcode iOS simulator build
我開發了一個與Facebook集成的iOS應用程序。 我需要為Facebook發送一個iOS模擬器版本來審查Facebook集成如何在我的應用程序上運行。
該鏈接提供有關如何創建iOS模擬器版本的說明。 https://developers.facebook.com/docs/ios/creating-ios-simulator-build-for-review/
所述鏈接提供了創建iOS模擬器構建的代碼
xcodebuild -arch i386 -sdk iphonesimulator{version}
我想要做的是運行應用程序iOS模擬器構建。 我想測試iOS模擬器構建是否有效。
我搜索並發現了這個:
這要求我使用此代碼來運行iOS模擬器構建。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication ${PROJECT}/build/Debug-iphonesimulator/<yourapp>.app/<yourapp>
是的,iOS模擬器運行但它不啟動我的應用程序。
我該如何在模擬器上運行iOS模擬器? 需要幫助。 謝謝!
添加注意:我使用的是Xcode 5.1.1
我使用ios-sim取得了成功。 然后使用ios-sim launch <yourproject>.app
使用simctl更新Xcode 6.x及更高版本的說明:
xcrun simctl install booted /path/to/your/built/simulator.app
xcrun simctl launch booted com.your.app.identifier
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.