Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

Is Xcode [documentsDirectory ...] the same as Unity's Application.persistentDataPath?

$
0
0
Hi folks, So... I have an app on the store that was first made with Xcode - i'm now updating it with a version coming from Unity... I'm having trouble with the Save files though - in Xcode they were loaded & saved from... NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; in Unity I'm using Application.persistentDataPath - I don't have the old project so i can't download its container in Xcode and check where the file is - once i've installed the new version i can clearly see where it's searching though which is AppData/Documents/filename - but when i try the update it seems unable to find them... anybody help? Thanks

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>