开发者

WIll the iphone simulator run a naked command line?

Does the iphone simulator require a bundle? I tried to run it on a plain executable and got

Session could not be started: Error Domain=DTiPhoneSimulatorErro开发者_JS百科rDomain
   Code=1  UserInfo=0x1002336c0 "Unknown error."

using the open source iphonesim driver.


You need to give it the path of the bundle with the .app suffix that XCode generates. By default this is in the "build" subdirectory of an iphone project. Also, there is currently a bug in the project that requires you to use the absolute path.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜