Hey guys,
**NOTE**
Above steps/approach works only before Xcode6.
Updated steps:
Actually, Above Xcode 6 simulator devices are located in "~/Library/Developer/CoreSimulator/Devices/"
Browsing directory to your app's Documents, tmp, library folders and binary file are a bit more arduous. Please follow below points to make it work
1) You can find Documents, Library, tmp folders here :
~/Library/Developer/CoreSimulator/Devices/<SIMULATOR_DEVICE_ID>/data/Containers/Application/<SIMULATOR_DEVICE_ID>/
2) Replace your Binary file here:
/Library/Developer/CoreSimulator/Devices/<SIMULATOR_DEVICE_ID>/data/Containers/Bundle/Application/<SIMULATOR_DEVICE_ID>
Today we learn how to install the .app or .ipa file in your simulator.
Following are the steps :
1) Finder -> Go ->Press alt option (key) -> Library -> Application Support -> iPhone Simulator -> Go to your simulator (It may be 4.0, 5.0, 6.0)
2) If you have folders inside this path ( Finder -> Go ->Press alt option (key) -> Library -> Application Support -> iPhone Simulator ) then, delete all the folders. It may clear you after your Xcode build.
3) Suppose you are having a Xcode project whose name is "Test" and you select your scheme as iPhone 5.0 Simulator, then Build + Run your project.
4) After that you follow 1 & 2 steps ( Finder -> Go ->Press alt option (key) -> Library -> Application Support -> iPhone Simulator -> 5.0 -> Applications -> Randomly 32 digits folder (i.e E8CD6A90-008A-4744-96D1-A104BB44C136) -> Copy 4 items (i.e Documents, Library, tmp, Test file) )
Requirements : You need 4 files ( i.e Documents, Library, tmp, your binary file (.app) )
Now, if you install this Test binary file onto another mac.
1) You just only need to replace these 4 files into your running Xcode Project.
2) Quit the simulator, if it is already open and then copy 4 files into this path : Finder -> Go ->Press alt option (key) -> Library -> Application Support -> iPhone Simulator -> Depends upon what scheme you are running (4.0/5.0/6.0) -> Applications -> Randomly 32 digits folder -> Replace with NEW 4 Files here
3) Open the simulator, No you see "Test" app in your simulator.
**NOTE**
Above steps/approach works only before Xcode6.
Updated steps:
Actually, Above Xcode 6 simulator devices are located in "~/Library/Developer/CoreSimulator/Devices/"
Browsing directory to your app's Documents, tmp, library folders and binary file are a bit more arduous. Please follow below points to make it work
1) You can find Documents, Library, tmp folders here :
~/Library/Developer/CoreSimulator/Devices/<SIMULATOR_DEVICE_ID>/data/Containers/Application/<SIMULATOR_DEVICE_ID>/
2) Replace your Binary file here:
/Library/Developer/CoreSimulator/Devices/<SIMULATOR_DEVICE_ID>/data/Containers/Bundle/Application/<SIMULATOR_DEVICE_ID>
Enjoy
Cheers :)