Reputation: 24737
I install my application using an ad-hoc provisioning. Each time i install the application, the NSDocumentDirectory is different. The GUID at the end of the path changes.
Why?
Upvotes: 0
Views: 624
Reputation: 1567
Every ios app is a sandbox. That means that whenever the app is installed, it gets a unique guid to operate within that "space" and only that space. This goes for all phones, for example your phone has guid a' the other user's phone will have a guid b'.
Similarly, each app creates its own filesystem directories (/documents, /library, etc) to operate within.
If you want to access asset files, do them through NSFileManager functions (combined with NSDocumentDirectory) or have a shared itunes folder for documents.
Upvotes: 1