Run the shell script above to install the app. If you want to install your app for iPhone-6-Plus this is the directory you would do it in.This file will contain the device it is simulating:Ĭom.-6-Plus Open the top directory and you will find a ist file. Each UUID corresponds to a simulator for a different device. There will be multiple UUID parent directories with the structure above.This will list all the paths that have a custom app installed. It is still possible to do:įirst you need to find the app directory (assuming you have installed apps): find ~/Library/Developer/CoreSimulator/Devices -name '*.app' I got the idea from Jeffrey Scofield: Run iOS Simulator from the Command Lineįor iOS8 and the new XCode Apple changed a few things and made it difficult to install apps via the command line. installApp to install the app to the simulator. So if I have my project_name.app/ with a project inside.Open a terminal window and run installApp from the project directory. Save the script as installApp.sh in your project_name.app/ folder. To reflect the version of iPhone Simulator you are using i.e. How to use this script to install the app:Ĭhange this line: TOPDIR="$HOME/Library/Application Support/iPhone Simulator/6.0/Applications/$UUID/" #copy all the app file to the simulators directory IPhone Simulator/6.0/Applications/$UUID/" # Pick a uuid for the app (or reuse existing one). I made a shell script which installs the app to the simulator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |