Corona crash when building for IOS

I have a project that runs fine in the simulator but when I try to build, Corona hard crashes on me with the following error:

/Applications/CoronaSDK/Corona Terminal: line 9:  2799 Segmentation fault: 11  “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” “$@”

logout

Tried with Corona 2014.2393a and daily build 2014.2468.

On OSX 10.10 / Xcode 6.1

I’m at a loss, really have no clue as to what to do… Any ideas?

It could be an issue with your build.settings.

Rob

I found the solution while reading another post.

http://forums.coronalabs.com/topic/29404-doing-a-build-for-an-android-device-i-get-segmentation-fault-11/

Perry mentioned that calling os.exit() in a applicationSuspend system listener can cause a crash when building. Although the post was for Android builds, it turned out to be the exact same problem for me for iOS build.

I modified my code following the suggestions and it solved the problem.

Thanks!

It could be an issue with your build.settings.

Rob

I found the solution while reading another post.

http://forums.coronalabs.com/topic/29404-doing-a-build-for-an-android-device-i-get-segmentation-fault-11/

Perry mentioned that calling os.exit() in a applicationSuspend system listener can cause a crash when building. Although the post was for Android builds, it turned out to be the exact same problem for me for iOS build.

I modified my code following the suggestions and it solved the problem.

Thanks!