I have a client who wants to just drag and drop the binary to run it in the simulator.
I want to build the simulator app and email it to them.
What can the client do to install this in the simulator?
Is this possible?
Thanks for any help.
Install Apps on SimulatorsGo 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.
Just like an APK (Android Application Package) file can be installed on Android devices, an IPA file can be used for testing iOS applications.
You can only run things on the simulator that either Apple provides with the SDK (e.g. Settings & photo library), or your own compiled apps. You can't install things from the store into the simulator.
You can, by executing the command below in the Terminal app.
xcrun simctl install {simulator_udid} {path of .app file}
It will install the .app
file in the referenced simulator.
Note: Make sure that the .app file is built for the simulator (i.e. i386
or x86_64
).
As long as they are on the same version of the target O/S as you you should be fine. Look here on your local machine:
~/Library/Application Support/iPhone Simulator/User/Applications/
That is where the apps are stored.
Watch this directory and grab everything that is added when you install the app. Then you can zip those materials and have your client un-zip them under the same path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With