App document directory data deleted when upgrading ios 7 to ios 8?
1 answer
This is because iOS 8 uses a different directory structure than iOS 7 and older. You can see the same with the iOS 8 simulator, where your app is now stored like this:
/Users/{YOUR NAME}/Library/Developer/CoreSimulator/Devices/{DEVICE ID}/data/Containers/Data/Application/{APPLICATION ID}/
You can get your device ID by going to Xcode> Window> Devices> Select your device> ID.
+2
source to share