How do we find the location of the directory where we put simulator build? In my system the path is Library/Application Support/iPhone Simulator/5.0/Applications
. What would be the path on someone else's system?
You can look for a folder called Derived Data in the Projects tab in Organizer. Xcode includes index, build output and logs there. So you can find there the built binary for the Simulator and for iOS devices. You can open this folder by right clicking on the device build and selecting Show in Finder.
The folder you mentioned is the folder where Xcode puts the binaries that it passes to the simulator when you launch your app there. It is usually in the same location.
$user$/Library/Application Support/iPhone Simulator/5.0/Applications. Or get the path using the line:
NSString *outputPath = [[NSString alloc] initWithFormat:@"%@", [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]];
This line returns you the path to the Documents folder in your app.
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