Hi all,
I’ve been wasting a couple of hours trying to figure out why my Corona Simulator and IOS Simulator both were able to load a JSON file stored in a subdirectory, but why my iPhone / iPad both failed loading the file.
Somehow the app is unable to locate the file in the Documents folder (system.DocumentsDirectory).
I still don’t know why it won’t work, but I made a workaround by putting the data in a table, encoding it, and writing it to the Documents directory if the file doesn’t exist yet. This is a stupid workaround, but it involved just two values.
However, can somebody explain why the device app is unable to locate the file in the DocumentsDirectory?
I physically created a “Documents”-folder in the root directory, added one in the sandbox folder and tried different sub-folders, to no avail.
The annoying thing is that it’s hard to debug, because even after setting the vbuffer to “no” I’m still not getting any debug information in XCode or in the console.
Any help would be appreciated. [import]uid: 86582 topic_id: 29247 reply_id: 329247[/import]
