To help find the directory that your app is running from in the iOS simulator, just add the following code in the app start up delegate:
1 2 3 |
// Log out the Library Path to make it easy to find the simulator directory let path = NSFileManager.defaultManager().URLsForDirectory(NSSearchPathDirectory.LibraryDirectory, inDomains: NSSearchPathDomainMask.UserDomainMask).last as? NSURL NSLog("Library Directory: %@", path!.absoluteString!) |