我可以在 IOS 模拟器中安装“应用商店”吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10611146/
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
Can I install the "app store" in an IOS simulator?
提问by William
The IOS simulator in my computer doesn't have app store. I want to use the app store to test a program I wrote on my simulator.
我电脑里的IOS模拟器没有应用商店。我想使用应用商店来测试我在模拟器上编写的程序。
Is it possible to install the app store in my simulator?
是否可以在我的模拟器中安装应用商店?
回答by WrightsCS
This is NOT possible
这不可能
The Simulator does not run ARMcode, ONLY x86code. Unless you have the raw source code from Apple, you won't see the App Store on the Simulator.
模拟器不运行ARM代码,只运行x86代码。除非您拥有来自 Apple 的原始源代码,否则您将不会在模拟器上看到 App Store。
The app you write you will be able to test in the Simulator by running it directly from Xcode even if you don't have a developer account. To test your app on an actual device, you will need to be apart of the Apple Developerprogram.
即使您没有开发人员帐户,您编写的应用程序也可以通过直接从 Xcode 运行来在模拟器中进行测试。要在实际设备上测试您的应用程序,您需要加入Apple Developer计划。
回答by Khawar
回答by Abhijith
You can install other builds but not Appstore build.
您可以安装其他版本,但不能安装 Appstore 版本。
From Xcode 8.2,drag and drop the build to simulator for the installation.
从Xcode 8.2 中,将构建拖放到模拟器以进行安装。