I have been finding a strange behavior:
In the Corona Simulator, all was running normally, and I could retrieve my data normally from my server.
However, while running on iOS simulator or devices, i got a print in the Xcode organizer console “attempt to index global json…” which is only when I finally understand that in my source code, I forgot to include the “local json = require(“json”)” line (which I realized only after 3 hours I just spent debugging my app)
Nevertheless, how come the json object was working in the corona sim, and not in iOS env if I did not include this external library in my code ? Is the json file now part of the corona SDK ? If so, how come it did not export it along with rest of the code ?
THanks for any feedback on this, cause I did spend quite a long time trying to figure this out… [import]uid: 23043 topic_id: 12396 reply_id: 312396[/import]