Hi guys - I’m getting this error when I try to build for the xcode sim:
Unexpected build error.
Error code: 5
If you are not connecting to the internet directly (for example, you connect via a proxy server) you might want to try a direct connection to see if that solves the problem.
Check the console for more information.
and the console output is :
Copyright © 2009-2014 C o r o n a L a b s I n c .
2014-09-18 15:47:35.560 Corona Simulator[6355:507] Version: 3.0.0
2014-09-18 15:47:35.560 Corona Simulator[6355:507] Build: 2014.2438
2014-09-18 15:47:38.759 Corona Simulator[6355:507]
Copyright © 2009-2014 C o r o n a L a b s I n c .
2014-09-18 15:47:38.760 Corona Simulator[6355:507] Version: 3.0.0
2014-09-18 15:47:38.760 Corona Simulator[6355:507] Build: 2014.2438
2014-09-18 15:47:38.779 Corona Simulator[6355:507] Platform: iPhone / x86_64 / 10.9 / Intel HD Graphics 3000 OpenGL Engine / 2.1 INTEL-8.24.16 / 2014.2438
2014-09-18 15:47:38.900 Corona Simulator[6355:507] The file sandbox for this project is located at the following folder:
(/Users/rm/Library/Application Support/Corona Simulator-FB5571AEDCC7791E6A34BF0B9D72AD4F)
2014-09-18 15:47:40.009 Corona Simulator[6355:507] RunTime Listener added: continueTrans
2014-09-18 15:47:49.645 Corona Simulator[6355:507] Using Custom Build Id 00000
Using additional build settings from: /Users/rm/Desktop//build.settings
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk
2014-09-18 15:48:01.202 Corona Simulator[6355:507] Runtime error
/Users/rm/Desktop/114.app/.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: warning: ObjC object file (/Users/rm/Desktop/†114.app/.build/libtemplate/libtemplate.a(main.o)) was compiled for iOS Simulator, but linking for MacOSX\nUndefined symbols for architecture i386:\n “start”, referenced from:\n implicit entry/start for main executable\n (maybe you meant: __ZN3Rtt7Display7RestartEv, __ZN3Rtt7Runtime15RestartRendererENS_17DeviceOrientation4TypeE , __ZN3Rtt7Runtime15RestartRendererEv , __ZN3Rtt27LuaEmitterObjectProxyVTable5startEP9lua_State , _timeout_getstart , _timeout_markstart , __ZN3Rtt7Display7RestartEii , __ZN3Rtt7Display7RestartENS_17DeviceOrientation4TypeE )\nld: symbol(s) not found for architecture i386\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>
stack traceback:
C: in function ‘assert’
/Users/rm/Desktop/114.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’
/Users/rm/Desktop/114.app/.build/libtemplate/Builder.lua:333: in function ‘build’
?: in function ‘buildExe’
?: in function <?:643>
2014-09-18 15:48:01.211 Corona Simulator[6355:507] iOS build failed (5)
I am using the latest daily build, any ideas? I tried “Deauthorize and Quit”, however the error still remains.
Cheers!