Corona simulator runs app fine XCODE freezes!

My app works fine on the corona simulator but when I build for xcode and test it there it always freezes up in one specific part of the app. I get no errors in the terminal window when I run on Cornoa. Does anyone know what this could be?

Thanks! [import]uid: 12903 topic_id: 7718 reply_id: 307718[/import]

Delete the app off the Xcode simulator before you build to it. [import]uid: 11809 topic_id: 7718 reply_id: 27398[/import]

I’ve tried that and it continues to freeze at the same spot. I’ve narrowed it down though to being a problem of loading a file using json. I’m not sure what’s wrong because again it works fine on the Corona simulator but crashes on the xcode simulator when i try to load it…any ideas? [import]uid: 12903 topic_id: 7718 reply_id: 27422[/import]

So I’ve narrowed down the problem even more but now I’m really stuck.

The problem is not the loading of the files but the saving. If I save the file in some function it will save and load properly. But in some functions it won’t save it properly. But when it doesn’t save properly, it will save one of my 3 files that I’m trying to save but not the other two…very weird. [import]uid: 12903 topic_id: 7718 reply_id: 27433[/import]

How do you build for the Xcode simulator? [import]uid: 24111 topic_id: 7718 reply_id: 30332[/import]