Problem reading JSON file stored in the Resources folder

Hi,

I’m reading and parsing a JSON file stored in the resources folder that I read using the RapidJson library. It works perfect in my iPhone when I’m using a developer profile.

But misteriously, when I prepare a distribution IPA and Install it on the SAME iPhone, it doesn’t work! Then I go to the xcode~~>window~~>organizer~~>devices~~>console and see that there is an error parsing some specific nodes of the JSON (after successfully parsing some others).

Do you have if I’m doing anything wrong? Should I flag in some way the JSON file in the resources folder?

Thanks.

JB