【发布时间】:2012-09-22 11:03:49
【问题描述】:
我想从命令行运行模拟器。有没有办法通过命令行找到模拟器路径。苹果经常改变模拟器的位置,比如
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator
/Applications ........ / IOS simulato....
有没有办法从终端找到模拟器路径。 ?
【问题讨论】:
-
使用“NSTemporaryDirectory()”。看这个-stackoverflow.com/questions/1108076/…
-
@Shubhendu OP 问题是“来自终端”,而不是“来自代码”;-)
标签: ios xcode xcode4.2 ios-simulator