Differences between simulator and device

Hi all,

I’m having some strange difficulties with my app. Everything works on the simulator just fine, but when I load the application on any device (iOS or Android) there are certain display objects that just don’t show up. What could be the cause of differences between the simulator and device?

It could be a problem with the file directory structure, and/or the naming convention you’re using for your assets. I’d make sure that every is in lowercase (a problem I ran into on Android) and that there aren’t any non-standard symbols in the file names.

Hi @zabace.  Please read this blog post regarding your question:

http://www.coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Thanks @Panc and @Rob,

For some reason, file paths in the simulator are not case sensitive, while on the device they are. It turned out to be a simple case of “Images” vs. “images.” 

Hi @zabace, the case sensitivity issue is a well known one and the #1 reason why “It works on the sim but not the device”.  Reading your console log would point you directly to the error.  There is a reason for this.  OS-X and Window’s operating systems are not case sensitive.  Android and iOS are.

It could be a problem with the file directory structure, and/or the naming convention you’re using for your assets. I’d make sure that every is in lowercase (a problem I ran into on Android) and that there aren’t any non-standard symbols in the file names.

Hi @zabace.  Please read this blog post regarding your question:

http://www.coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Thanks @Panc and @Rob,

For some reason, file paths in the simulator are not case sensitive, while on the device they are. It turned out to be a simple case of “Images” vs. “images.” 

Hi @zabace, the case sensitivity issue is a well known one and the #1 reason why “It works on the sim but not the device”.  Reading your console log would point you directly to the error.  There is a reason for this.  OS-X and Window’s operating systems are not case sensitive.  Android and iOS are.