Unexpected build error. Error code: 5

Hi ,

Max here, I am getting this error message when i try to build for IOS 


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.


my console says 


2014-09-30 18:55:36.533 Corona Simulator[498:507] Using Custom Build Id 00000

Using additional build settings from: /Users/bijirs/Desktop/corona/fast_and_powerfull/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/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk

WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk

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/iPhoneOS8.0.sdk

WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk

2014-09-30 18:55:51.121 Corona Simulator[498:507] Runtime error

/Users/bijirs/Desktop/corona/fast_and_powerfull.app/.build/libtemplate/Builder.lua:310: <error>{“status”:32512,“message”:“sh: /Applications/Xcode: No such file or directory”}</error>

stack traceback:

C: in function ‘assert’

/Users/bijirs/Desktop/corona/fast_and_powerfull.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/bijirs/Desktop/corona/fast_and_powerfull.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:644>

2014-09-30 18:55:51.125 Corona Simulator[498:507] iOS build failed (5)

 


I used the latest build 2014.2448 (2014.9.28)

My xcode is 6.0.1

OSX 10.9.5

I think the 

plugins =

    {

 

        [“CoronaProvider.native.popup.social”] =

        {

            publisherId = “com.coronalabs”

        },

        

    }

 

in my build setting is causing the error , its the only plugin i have . as soon as i comment it i can build without any error.  The project runs fine on the simulator, device and i can build without issues for the android. I am trying to  build for iPad device.

Please help 

Same problem here.  Getting Error Code 5 when building for iOS. Builds for Android work fine.

Xcode 5.1.1

OS X 10.8.5

Corona 2449

I use a lot of plugins (12 of them) in my build.settings.  Through trial and error, the plugin that I had to comment out in order to get the iOS builds working again was:

[“plugin.adbuddiz”] = { publisherId = “com.adbuddiz” },

Strangely, unlike Max, I did not have to comment out the CoronaProvider.native.popup.social plugin.

I can’t tell if this is an AdBuddiz issue or a Corona issue.

Thank you poon, I was thinking that i was the only one having this error. I tried CoronaSDK 2014.2449 daily build but i still have the issue. may be some one from corona can help me out on why i might be getting this error. cause i think its got to do with the plugins. is it that the format of the plugin is wrong or spelling issues or something at the server end.

Thank you,

Max 

This is still an issue for me.  The error I get in the console is

.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: framework not found Metal for architecture armv7\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>

Same problem here.  Getting Error Code 5 when building for iOS. Builds for Android work fine.

Xcode 5.1.1

OS X 10.8.5

Corona 2449

I use a lot of plugins (12 of them) in my build.settings.  Through trial and error, the plugin that I had to comment out in order to get the iOS builds working again was:

[“plugin.adbuddiz”] = { publisherId = “com.adbuddiz” },

Strangely, unlike Max, I did not have to comment out the CoronaProvider.native.popup.social plugin.

I can’t tell if this is an AdBuddiz issue or a Corona issue.

Thank you poon, I was thinking that i was the only one having this error. I tried CoronaSDK 2014.2449 daily build but i still have the issue. may be some one from corona can help me out on why i might be getting this error. cause i think its got to do with the plugins. is it that the format of the plugin is wrong or spelling issues or something at the server end.

Thank you,

Max 

This is still an issue for me.  The error I get in the console is

.build/libtemplate/Builder.lua:310: <error>{“status”:256,“message”:“ld: framework not found Metal for architecture armv7\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>