Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install apps on Xcode 6 iOS Simulator

I'm looking for a way to install the mail application on the Xcode 6 iOS Simulator.

Additionally, how do I install apps that are already public on the Appstore so that I can run them on the iOS Simulator? Is there a simple way?

like image 786
Heman Patekar Avatar asked Feb 05 '15 18:02

Heman Patekar


People also ask

Can you install apps on iOS simulator?

Install Apps on SimulatorsTo install an app on a connected simulator, follow these steps. Go to Apps > Install Application. Find and open the app you want to install from your Mac. The app appears in the list of installed apps on the right side of the iOS Gateway window.

How do I run an app in Xcode simulator?

The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators. But you cannot run them directly. You need to build your application on the simulator, and then you can run it.

Why is there no App Store in iOS simulator?

The Simulator does not run ARM code, ONLY x86 code. Unless you have the raw source code from Apple, you won't see the App Store on the Simulator. So you can only run apps you're working on and compiling yourself, and the few that are preinstalled on the Simulator.


2 Answers

The most common way to install an app in the iOS Simulator is to use Xcode to build and install it. If you have a simulator app bundle which was built by someone else (or archived), you can install it using simctl:

xcrun simctl install booted /path/to/your.app 

Keep in mind, of course, that these apps need to be iOS Simulator apps, not iOS Device apps.

like image 133
Jeremy Huddleston Sequoia Avatar answered Sep 30 '22 05:09

Jeremy Huddleston Sequoia


The iOS simulator is a different compiled binary than the app that gets published on the app store.

If you don't have access to the project's source code or simulator binaries, you can't install it on your own simulator.

like image 44
Michael Dautermann Avatar answered Sep 30 '22 04:09

Michael Dautermann