If I've build an iOS app for the simulator using Xcode, is there a way I can manually launch this in the simulator and/or copy it from the build-dir onto the simulator? The reason being if I change any of my code, I don't want XCode to decide it's going to rebuild everything when I run in the simulator, as this takes several minutes.
I see simulator dirs are named using some sort of GUID and have some extra sub-dirs. Is there any magic to this or can I create a new dir and dump my app into it?
First, determine where your build directory is located. This will normally be inside the root of your project directory, like this:
Then locate which build target you built, which will be either Debug or Release, and it should be for the iPhone Simulator. This is normally found in the build directory as one of the following:
OR
Now locate your application bundle, which will contain the actual app which can be loaded into the iOS Simulator. This will be underneath one of the directories above, as in:
As I say this is an application bundle, so it's actually a directory, and inside this directory you will find the executable for your app:
you can now launch your app in the iOS Simulator with: