在iOS 8模拟器中运行.app文件 [英] Run .app file in iOS 8 simulator
问题描述
我有一个开发者共享的.app文件,我想在iOS 8模拟器中运行。我已经看到类似的问题,它们为旧版本的iOS提供了解决方案,不再适用于iOS 8.有人可以指出在不使用xcode的情况下在iOS 8模拟器中运行.app文件需要做些什么。
I have a .app file shared from a developer which i would like to run in iOS 8 simulator. I have seen similar questions which has solutions for older versions of iOS which is no longer working for iOS 8. Can someone point out what needs to be done to run the .app file in an iOS 8 simulator without using xcode.
推荐答案
在iOS模拟器中启动要安装的模拟器,然后执行以下操作:
Boot the simulator you want to install it to in the iOS Simulator and then do the following:
xcrun simctl install booted /path/to/Your.app
xcrun simctl launch booted com.yourcompany.yourapp
Xcode 6.0中旧版本的simctl不支持引导令牌。如果出现错误,请使用完整设备UDID而不是booted。您可以通过运行 xcrun simctl list
The "booted" token was not supported on older versions of simctl in Xcode 6.0. If you get an error, please use the full device UDID instead of "booted". You can determine the UDID by running xcrun simctl list
这篇关于在iOS 8模拟器中运行.app文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!