Xcode 6 keeps renaming my app's directory in iOS8 simulator after each run.
Turns out Xcode 6 does in fact change the app's UUID every run, and I'm in the wrong for storing absolute paths.
Application folder name changes every time i run in simulator
Don't save the full path, but just the directory and file name to the images.
Since this behavior is new in iOS 8 and can also happen on a real device.
Xcode 6 / iOS 8 Simulator Data and Bundle folder script
This has been bugging me as well. I've not been able to solve it 100% but I created a quick and dirty app to help a bit. I can always find the device directory, but I've not yet found a way to track down the bundle / sandbox directories reliably. Source: https://github.com/somegeekintn/SimDirs
Edit: Went ahead and started scanning mobile_installation.log to find additional locations. Seems to find everything now.
App Home Folder Constantly Change IOS
Don't use absolue paths... Use something like this
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *localFilePath = [documentsDirectory stringByAppendingPathComponent:[[yourArray objectAtIndex:indexPath.section]lastPathComponent]];
Related Topics
Cocoapods Not Installed or Not in Valid State
How to Convert an Int to Hex String in Swift
How to Set a Uitableview to Grouped Style
Minimum and Maximum Date in Uidatepicker
How to Restrict Special Characters in Uitextfield Except Dot and Underscores
Wrapping Text in a Uitextview Around a Uiimage Without Coretext
Hiding Uitabbar When Pushing a Uiview
Black Screen After Adding Scenedelegate and Updating Info.Plist
Correct Implementation of Parent/Child Nsmanagedobjectcontext
This Certificate Has an Invalid Issuer:Keychain Marks All Certificates as "Invalid Issuer"
How to Hide/Show Tab Bar of a View with a Navigation Bar in iOS
Screenshot for Avplayer and Video
Disabling Automatic Scrolling of Uitableview When Editing Uitextfield Inside Uitableviewcell