开发者

WIll the iphone simulator run a naked command line?

开发者 https://www.devze.com 2023-01-13 17:07 出处:网络
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

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

精彩评论

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