3

I have made an iOS application in Xcode and built it. It has created an .app bundle. I am able to launch the app in Simulator or on the device successfully from Xcode or iTunes, but now I want to launch it in Simulator through AppleScript from Terminal.

I am able to build the app from Terminal, but unable to launch it in Simulator. Somehow I found out that an .ipa file is needed to run the app from Terminal.

Is there a way to launch an iOS app I built in Simulator from Terminal?

4

1 回答 1

0

我找到了一个我想要使用 iTunes 的 .ipa 文件并将其复制到我的桌面上。之后,我将扩展名更改为 .zip 并将其解压缩。接下来,我找到了 Payload 文件夹,并将应用程序移到了我的桌面上。最后,我将该应用程序移动到我的 iPhone 模拟器应用程序文件夹中,该文件夹位于:“您的磁盘名称”>“开发人员”>“平台”>“iPhoneSimulator.platform”>“开发人员”>“SDKs”>“iPhoneSimulator4.3.sdk”>“应用程序”

希望这可以帮助!(注意:某些应用程序比其他应用程序更频繁地崩溃。)

于 2013-04-15T13:29:12.920 回答