xcode build/archive app for anyone to run in a simulator

Johnny Major picture Johnny Major · Nov 8, 2014 · Viewed 9.2k times · Source

I am trying to figure out how I can build/archive my iOS application in xcode so that I can send it to anyone and they can run in it a simulator. I thought I could just build it and run it in the simulator and pull the .app file however I have no luck. I would like to build it so anyone I give it to can run it in any simulator using the phonegap ios-sim.

Any information would be great!

Thanks

Answer

Elmue picture Elmue · Jul 28, 2019

All answers here are wrong.

You cannot run an .IPA file on the simulator. The simulator runs files which are compiled for the x86 processor, while IPA files are compiled for the ARM processor in the iPhone. Additionally .IPA files must contain a valid certificate while apps for the simulator do NOT need a certificate.

After building the app, go to the left side navigator bar, select Products > appName.app, right click it and select 'Show in Finder'. Finder will show the .app file and you can send the file to your colleague / client and ask them to drag and drop it into iOS Simulator.

Get ios .app folder for simulator