Works On Simulator But FAIL in devices

Hi guys do anyone have an idea why my programme does not work in my iphone but when i run it in the simulator it works jus fine?

the error it pop out is a run time error saying that “/User/ISG/Desktop/…/director.lua:1094: attempt to call method ‘insert’ (a nil value)”

Hi @pehzeming,

The most important takeaway is that you should stop using the Director library. It was a 3rd-party library (not associated with Corona Labs) and it has not been supported by the original author in over 2 years.

For scene management, you should begin using Corona’s Composer library that is fully supported and maintained:

http://docs.coronalabs.com/guide/system/composer/index.html

Take care,

Brent

Hi @pehzeming,

The most important takeaway is that you should stop using the Director library. It was a 3rd-party library (not associated with Corona Labs) and it has not been supported by the original author in over 2 years.

For scene management, you should begin using Corona’s Composer library that is fully supported and maintained:

http://docs.coronalabs.com/guide/system/composer/index.html

Take care,

Brent