Corona Not Building: attempt to index field 'settings'

Hi @tap32,

After upgrading the OS, did you also upgrade to XCode5? Additionally, which build of Corona are you using for these tests?

Thanks,

Brent

Hi Brent,

I also upgraded XCode (I’m on Version 5.0 (5A1413)) when I upgraded OSX. I get the error with build 2013.1217, but not with 2013.1202. 

Hi @tap32,

Let’s try stepping back to basics. Can you build the Corona sample app “Hello World” on your system using 1217? It’s located in the local application folder: CoronaSDK > SampleCode > GettingStarted > HelloWorld

Please try that and report back what occurs.

Thanks,

Brent

That works fine. Though it does have a build.settings file. It seems to be the absence of that file which causes as issue in 1217.

Hi @tap32,

I’m beginning to suspect that the build.settings file you were using (with the builds that didn’t work) were corrupted somehow. What happens if you use the build.settings file from “Hello World” and copy it over to your own projects?

Brent

Hi Everyone.

I am very new in corona. I just try to create a corona game on window  and using corona starter (free version).

But I don’t know how to put my game into my cell phone (android) and play it.

Could you give me some suggestions please ?

As more details as good. Thank you.

Williams

Hello Williams,

For Android, please follow this guide and video which instructs you on how to install on devices:

http://docs.coronalabs.com/guide/distribution/androidBuild/index.html

http://youtu.be/Omu4TJFZU6k

Sincerely,

Brent Sorrentino

Thank Brent for fast replying.

I created a file .apk and am trying to insert it into my android phone.

Your guide seems to be great. Thank again.

Williams

Hi Brent, 

The projects where I have that build error don’t have build.settings files. If I copy the build.settings file from the Hello World project it works fine. I was wondering if build.settings is now required? The documentation just states it’s optional and in the past I’ve been able to build fine without one (which is mostly for prototypes or bug reports):

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

Hi @tap32,

Apparently this has been resolved in more recent builds between #1215 and #1225… definitely by #1225, which we’ve tested. Please test that out and let me know if it works.

Thanks,

Brent

Thanks Brent, that works fine now, I’ve tested with 1233