Build error #5 with daily build 2014.2438?

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!

I get the same error, using build 2438. Really annoying when you want to play with the new screensizes in Xcode  :slight_smile:

Yeah, Im using the window view as - in the Corona sim for iPhone 6 works great. However, not when I try to build for the xCode sim.

This is a Corona server issue because I built an earlier version of an app using 2437 without an issue and a few hours later I’m getting this error as well.

UPDATE:  I just tried doing the build again (5 minutes later) and I was able to successfully compile.  So, the moral is try, try again.

I am getting this today. I was getting it was build 2434 every time I build for simulator but never had the problem with building for device.

I have just been trying with todays build 2439 and I am still getting the same error while building for simulator ALWAYS but never for device. And this is a bit of a pain as I have fellow developers reporting display errors with the simulator displaying portrait instead of landscape and having to reverse the width and height in the delegate.M file. so need to check this.

We need your complete console log for these errors.  Also it wouldn’t hurt to know what all you’re including in your build.settings too.

Rob

Im only including SSL plugin. Here is my console report which does contain something to do with SSL.

 

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-20 10:01:27.154 Corona Simulator[8027:507] Runtime error

/Users/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: warning: ObjC object file (/Users/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/libtemplate.a(main.o)) was compiled for iOS Simulator, but linking for MacOSX\nUndefined symbols for architecture i386:\n  “_fwrite$UNIX2003”, referenced from:\n      _int_rsa_verify in libplugin.openssl.a(rsa_sign.o)\n      _test_rc4_init_key in libplugin.openssl.a(eng_openssl.o)\n      _TXT_DB_read in libplugin.openssl.a(txt_db.o)\n      _read_string in libplugin.openssl.a(ui_openssl.o)\n      _read_string_inner in libplugin.openssl.a(ui_openssl.o)\n      _ENGINE_load_gost in libplugin.openssl.a(gost_eng.o)\n      _dtls1_retransmit_buffered_messages in libplugin.openssl.a(d1_both.o)\n      …\n  “start”, referenced from:\n     implicit entry/start for main executable\n     (maybe you meant: __ZN3Rtt7Display7RestartEv, __ZN3Rtt7Display7RestartENS_17DeviceOrientation4TypeE , _timeout_markstart , _BN_CTX_start , __ZN3Rtt7Runtime15RestartRendererENS_17DeviceOrientation4TypeE , __ZN3Rtt7Runtime15RestartRendererEv , __ZN3Rtt27LuaEmitterObjectProxyVTable5startEP9lua_State , _timeout_getstart , _dtls1_start_timer , __ZN3Rtt7Display7RestartEii , _start_hash )\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/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:643>

2014-09-20 10:01:27.163 Corona Simulator[8027:507] iOS build failed (5)

Hi Rob;

That is all I had come out on the terminal window. It’s not a big deal really for me, I was just reporting that I got the error in case it was an issue with the daily build? I almost always use the Corona sim.

Thanks for your help.

i have the same error, ok if i build for a real device, build error for xcode ios simulator. Any solution???

Arraffaele, are you using any plugins? Anything added in to the build?

yes i use only admob plugin

There are two issues, neither have been solved by engineering and both keep you from using the Xcode simulator with Xcode 6.

1.  If you have plugins in your build.settings, you will get an Error code 5 when using Xcode 6 and try to build for the Xcode 6 simulator.  Builds for devices are fine.

  1. Even if you take the plugins out, the method for launching an externally built app in the Xcode simulator changed from Xcode 5 to Xcode 6.

Until Engineering can address these, you will not be able to build for the Xcode simulator with Xcode 6.  If you have to test on the simulator, you probably should stick with Xcode 5.1.1. for now.  Engineering is aware of this and will need time to solve it.

Rob

I have a fellow dev who works with Gideros. He has fixed it by going into the build settings and changhing to 32 bit from armv7/64 Bit. Not sure if this will help.

We do need this asap as I really need to check for iphone 6 screen settings.

Perhaps theres a place we can copy the builds so it appears on the IOS simulator desktop?

Either that or Ill have to remove Xcode6 and re install 5

Reinstalling 5 will let you build for the simulator, if you still can.  The app store is only delivering Xcode 6 now.  But if you do, won’t have the iPhone 6 skins.

Rob

I get the same error, using build 2438. Really annoying when you want to play with the new screensizes in Xcode  :slight_smile:

Yeah, Im using the window view as - in the Corona sim for iPhone 6 works great. However, not when I try to build for the xCode sim.

This is a Corona server issue because I built an earlier version of an app using 2437 without an issue and a few hours later I’m getting this error as well.

UPDATE:  I just tried doing the build again (5 minutes later) and I was able to successfully compile.  So, the moral is try, try again.

I am getting this today. I was getting it was build 2434 every time I build for simulator but never had the problem with building for device.

I have just been trying with todays build 2439 and I am still getting the same error while building for simulator ALWAYS but never for device. And this is a bit of a pain as I have fellow developers reporting display errors with the simulator displaying portrait instead of landscape and having to reverse the width and height in the delegate.M file. so need to check this.

We need your complete console log for these errors.  Also it wouldn’t hurt to know what all you’re including in your build.settings too.

Rob

Im only including SSL plugin. Here is my console report which does contain something to do with SSL.

 

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-20 10:01:27.154 Corona Simulator[8027:507] Runtime error

/Users/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: warning: ObjC object file (/Users/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/libtemplate.a(main.o)) was compiled for iOS Simulator, but linking for MacOSX\nUndefined symbols for architecture i386:\n  “_fwrite$UNIX2003”, referenced from:\n      _int_rsa_verify in libplugin.openssl.a(rsa_sign.o)\n      _test_rc4_init_key in libplugin.openssl.a(eng_openssl.o)\n      _TXT_DB_read in libplugin.openssl.a(txt_db.o)\n      _read_string in libplugin.openssl.a(ui_openssl.o)\n      _read_string_inner in libplugin.openssl.a(ui_openssl.o)\n      _ENGINE_load_gost in libplugin.openssl.a(gost_eng.o)\n      _dtls1_retransmit_buffered_messages in libplugin.openssl.a(d1_both.o)\n      …\n  “start”, referenced from:\n     implicit entry/start for main executable\n     (maybe you meant: __ZN3Rtt7Display7RestartEv, __ZN3Rtt7Display7RestartENS_17DeviceOrientation4TypeE , _timeout_markstart , _BN_CTX_start , __ZN3Rtt7Runtime15RestartRendererENS_17DeviceOrientation4TypeE , __ZN3Rtt7Runtime15RestartRendererEv , __ZN3Rtt27LuaEmitterObjectProxyVTable5startEP9lua_State , _timeout_getstart , _dtls1_start_timer , __ZN3Rtt7Display7RestartEii , _start_hash )\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/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/macbookpro/Desktop/All¬†The¬†Fun¬†At¬†The¬†Fair.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:643>

2014-09-20 10:01:27.163 Corona Simulator[8027:507] iOS build failed (5)