Runtime error when using 'newEmitter' to publish to iOS device with Corona Enterprise

Hey everyone,

I want to take advantage of the new particle emitter support in Corona Build 2014.2214.  I’m using Corona Enterprise to publish an app offline which is currently in production.

Using Particle Designer 2.0 publishing to JSON, a simple emitter works in the simulator but when I publish to my iOS device I get the following runtime error in XCode:

2014-03-25 13:57:19.426 smilesavers[26536:60b] Runtime error

BrushMouthTutorialView.lua:37: attempt to call field ‘newEmitter’ (a nil value)

I assume this is because Corona can’t find the function call in the core library. I’m using the same source code listed below with the exception that I’m using my own JSON file. 

http://docs.coronalabs.com/daily/api/library/display/newEmitter.html

I deauthorised Corona Enterprise and updated to the latest build before reauthorising.

Is anyone else having problems? Any suggestions are greatly appreciated.

Thanks, /Topher.

Quick update.

The project setup had old versions of libplayer.a and CoronaResources.bundle inside my project.

Updating these files solved the problem.

Quick update.

The project setup had old versions of libplayer.a and CoronaResources.bundle inside my project.

Updating these files solved the problem.