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 i
First off you will need a release build (not a dev build) to share the installable simulator .app
To generate a Release build:
make sure you go into edit scheme (next to the simulator selector)
Under Run change the build configuration to Release
Then you can right click the app and go into the DerivedData//Build/Products/Release-iphonesimulator/.app
Copy the .app and share with whoever has xcode.
That person then needs to do a few things.
Download your app and add it in a location that they can access the path. example: Users/
Get the device ID xcrun simctl list devices
example 7FAB6CD2-70D0-416F-9C50-4C7C23B2ABCD
With a valid simulator id, run xcrun simctl install 7FAB6CD2-70D0-416F-9C50-4C7C23B2ABCD Users/
The app should install and they should be able to open the app.