如何在 ios 7.0 模拟器上安装 IPA

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25706192/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 02:15:35  来源:igfitidea点击:

how to install an IPA on ios 7.0 simulator

iosxcodexamarinsimulatoripa

提问by NSK

i am using xcode 5.0 and i want install an ios application to my ios simulator to test and research. I had searched in google and i found some solution but it did't work. Some body helps me. thank you

我正在使用 xcode 5.0,我想在我的 ios 模拟器上安装一个 ios 应用程序以进行测试和研究。我在谷歌搜索过,找到了一些解决方案,但没有用。有些身体帮助我。谢谢你

回答by Iain McManus

There is unfortunately no way to install an IPA on the simulator. The IPA has been compiled for the ARM CPU in the iPad/iPhone/iPod. See this for more info How can I install a .ipa file to my iPhone simulator

遗憾的是没有办法在模拟器上安装 IPA。IPA 已为 iPad/iPhone/iPod 中的 ARM CPU 编译。有关详细信息,请参阅此内容如何将 .ipa 文件安装到我的 iPhone 模拟器

However, if you have the source code and are building the app you can simply deploy to the simulator. In the top left of XCode you will be able to select the build target (iPad Retina, iPad etc along with iOS Version). If you set that to the appropriate simulator type and select run then it will build and deploy a version that is compatible with the simulator.

但是,如果您拥有源代码并正在构建应用程序,则只需将其部署到模拟器即可。在 XCode 的左上角,您将能够选择构建目标(iPad Retina、iPad 等以及 iOS 版本)。如果您将其设置为适当的模拟器类型并选择运行,那么它将构建和部署与模拟器兼容的版本。