Within the iOS Simulator, is it possible to access the App Store?
That is, can I install the App Store application within the Simulator and download applications through it to the iOS Simulator? If so, how?
It's a simulator not an emulator. Even if there was an App Store in the Simulator, none of the apps in the store would work since they are compiled for ARM CPUs while the Simulator runs x86 code.
Sorry it is not available! The simulator will only allow you to install programs from xCode. I am not sure why they restrict this - but I am also not sure why you would want to use the Simulator for this purpose.
Interacting with iOS Simulator: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/iOS_Simulator_Guide/InteractingwiththeiOSSimulator/InteractingwiththeiOSSimulator.html
Note: You cannot install apps from the App Store in simulation environments.
In my case I wanted to show my boss that the Linking mailto: and tel: works as expected, but since I can not install a mail client, mailto: does nothing at all. I also throw an error when trying to launch the dialer. I guess I won't know for sure how these things operate until I place the app on an actual iPhone, which I do not own.
It seems like Apple is trying really hard to make it expensive for non-iPhone and non-Mac owners to become developers. If I want to develop for iPhone, I need to go out and buy a Mac so I can run Xcode, and now I also need an iPhone. SMH that's like $2,500. I will never use either of these for anything else except for development. If you want the full developer experience you gotta pay out the nose.
You can put application in your simulator. But you cannot run it. They have restricted users to run applications. I found where the .app files are. Machintosh HD - Application - Xcode - Contents - Developer - Platforms - iPhoneSimulator.platform - Developer - SDKs - iPhoneSimulator.sdk - Applications All applications are in there but, I can't run them. However, I succeeded to install .app files. In .ipa file, there is 'payload' folder, and .app file is in there. All you need is just copy it and paste it in Applications folder. Then you can see the icon on your simulator. But, it will not work.
Probably wont work, but if you have an IOS device and copy an app onto your computer, you might be able to run it on IOS simulator, as you can run your own apps.
来源:https://stackoverflow.com/questions/8137791/can-i-access-the-app-store-from-within-the-ios-simulator