- Launch the Simulator (/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app) and set the hardware and version to the appropriate settings.
- Delete any existing apps in the simulator.
- Put a breakpoint in the main function (i.e. first line of the main function main.m). This is to ensure that no code writes any files to the build directory (i.e. CoreData, Analytics, Preloading URL's, etc.).
- Run the project in debug and stop the program once it reaches the breakpoint in the main function.
- At this point if you followed step (2) and only have one application it should be easy to locate in ~/Library/Application Support/iPhone Simulator/[version]/Applications and can easily be tar'ed up and archived and moved around.
This has even worked from Xcode 3.2.6 builds being applied to Xcode 4.0.1.
No comments:
Post a Comment