Can I install the "app store" in an IOS simulator?

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.

Is it possible to install the app store in my simulator?

148621 次浏览

这是不可能的

模拟器不运行 手臂代码,只运行 X86代码。除非你有来自苹果的原始源代码,否则你不会在模拟器上看到应用商店。

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 a part of the 苹果开发者 program.

不,根据苹果 here的说法:

注意: 您不能在模拟环境中从应用程序商店安装应用程序。

您可以安装其他构建,但不能安装 Appstore 构建。

Xcode 8.2中,将构建拖放到安装的模拟器中。

Https://stackoverflow.com/a/41671233/1522584