2012-02-15 88 views
0

我的要求是运行目标文件,使模拟器启动并从终端运行脚本。iPhone模拟器没有启动

我能够从终端使用(xcodebuild -project MyPro。xcodeproj -target“MyPro copy”-configuration“Debug”-sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/)成功执行构建文件。 iPhoneSimulator4.2.sdk),但模拟器没有启动。

回答

-2

你可以在Xcode中启动它没有任何问题,在左上角只需选择iPhone/iPad的模拟器,然后单击播放

1

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/Applications/iPhone \ Simulator.app/Contents/MacOS/iPhone\Simulator

for xcode 4