ios build failed (error 12)

Pardon my inexperience on this, as I’m a newbie, and trying out Corona for the first time, to deploy a developent version of my hello world on my iphone.

During build, IOS build failed with error 12 during development build.  

The console shows:

Sep 19 22:36:57.023: Created XCENT: /var/folders/5f/_6mvrwqs727gwfz_cvp9cd080000gp/T/CLtmp5okrrt/entitlements.xcent

Sep 19 22:36:57.023: Creating Info.plist…

Sep 19 22:36:57.063: Runtime error

?:0: attempt to index a nil value

stack traceback:

?: in function ‘?’

?: in function ‘?’

?: in function ‘?’

?: in function <?:912>

Sep 19 22:36:57.063: Application version information:

Sep 19 22:36:57.063:     Version: 1.1            [CFBundleShortVersionString] (set in Build dialog)

Sep 19 22:36:57.063:       Build: 2015.09.192236 [CFBundleVersion] (set by Simulator)

Sep 19 22:36:57.071: iOS build failed (12)

 

 

Appreciate help and pointers on rectifying this!

That normally means there is an error in your code. Are you having any problems running your project in the simulator? if it’s a simple “hello world”, can you post the code you have thus far so we can take a look? Remember to use the <> code blocks for proper formatting.

Thanks for the reply to this post. No problem running in the simulator, it was just a single line that simply prints. I initially felt it might be an issue related to the ios provisioning profile and I have managed to resolve it using the latest daily build of  2015.2721   

(prior to that was using the public release version 2015.2646). The version 2015.2721 is great, no errors now and the build process is quite elegant :slight_smile:

Glad you got it solved.

Rob

That normally means there is an error in your code. Are you having any problems running your project in the simulator? if it’s a simple “hello world”, can you post the code you have thus far so we can take a look? Remember to use the <> code blocks for proper formatting.

Thanks for the reply to this post. No problem running in the simulator, it was just a single line that simply prints. I initially felt it might be an issue related to the ios provisioning profile and I have managed to resolve it using the latest daily build of  2015.2721   

(prior to that was using the public release version 2015.2646). The version 2015.2721 is great, no errors now and the build process is quite elegant :slight_smile:

Glad you got it solved.

Rob

Not sure what 12 means, but I imagine it’s a file write error, as I encountered it when I accidentally had the APK open in 7 zip while building on Windows for Android, hope that helps somebody.

Not sure what 12 means, but I imagine it’s a file write error, as I encountered it when I accidentally had the APK open in 7 zip while building on Windows for Android, hope that helps somebody.