Database problem in iOS built

Hi friends.

Just finished my first Corona project, I have the next problem and hope anyone could help me.

My database is working properly in Android devices however that same Lua code isn’t in iOS. 

So, any of you could give me a hand?? why is this happening??

local path = system.pathForFile("data/database.db", system.ResourceDirectory) local db = sqlite3.open(path)  

What is the problem you are having?

When I install the app on my iPhone, I do not access the database, but in the simulator if it works I do not understand what could be the problem since I can not debug it.

What is the problem you are having?

When I install the app on my iPhone, I do not access the database, but in the simulator if it works I do not understand what could be the problem since I can not debug it.