2014-06-19 21 views
6

有誰知道如何通過命令行使用-SimulateApplication工具。據我瞭解它通過模擬器shoud load/istall .app? 我正在設置下一個: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone \ Simulator.app/Contents/MacOS/iPhone \ Simulator -SimulateApplication $ HOME/app to application如何通過命令行使用-SimulateApplication工具

,但沒有發生,只有模擬器推出

這將是巨大的,得到一些建議嗎?

回答

1

我與它的問題太..但最終使用IOS-SIM 這是我必須做的

xcodebuild -project testing.xcodeproj -target "testing" -configuration "Debug" -destination "platform=iOS Simulator,name=iPad" -sdk "iphonesimulator7.0" -IDEBuildOperationMaxNumberOfConcurrentCompileTasks=8 build 
ios-sim launch /Users/prjwl/Documents/Samples/testing/build/Debug-iphonesimulator/testing.app --sdk 7.0 --stdout log.txt --timeout 60 --args $input 

希望它可以幫助別人。