I’m posting this for easy reference. Since iOS 8 changes the location of files in the iPhone Simulator here’s a nifty add to the AppDelegate.m class and (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions method:
It will print a line like this right at the top of the console log:
2014-09-24 15:23:17.504 APPNAME_HERE[67614:1556306] Documents Directory: file:///Users/peterbrockmann/Library/Developer/CoreSimulator/Devices/17716613-02FD-4E22-B605-5F6120D3B671/data/Containers/Data/Application/84D9612B-4D78-43D9-A0C3-D2153927E075/Documents/
– – – – – – COPY THIS TO THE APPDELEGATE CLASS:
#if TARGET_IPHONE_SIMULATOR // where are you? NSLog(@"Documents Directory: %@", [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]); #endif