Build error code 5

Hi, 

I am getting build error number 5 with console outpu:

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. Jan 16 09:29:57.203: iOS build failed (5) Jan 16 09:30:36.615: Using additional build settings from: /Volumes/Mobile apps/Kryminały/build.settings Jan 16 09:30:36.677: mv: rename /Users/pwilczynski/Desktop/Angielskizkryminałem-Coldlittlehand.app/Angielskizkryminałem-Coldlittlehand to /Users/pwilczynski/Desktop/Angielskizkryminałem-Coldlittlehand.app/Angielski z kryminałem - Cold little hand: No such file or directory Jan 16 09:30:36.681: mv: rename /Users/pwilczynski/Desktop/Angielskizkryminałem-Coldlittlehand.app to /Users/pwilczynski/Desktop/Angielski z kryminałem - Cold little hand.app: No such file or directory Jan 16 09:30:36.682: Created XCENT: /var/folders/d6/ssj\_zdzd3f96803nwlcr2vfh0000gs/T/CLtmpdpBzeq/entitlements.xcent Jan 16 09:30:36.689: \<?xml version="1.0" encoding="UTF-8"?\> Jan 16 09:30:36.689: \<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"\> Jan 16 09:30:36.689: \<plist version="1.0"\> Jan 16 09:30:36.689: \<dict\> Jan 16 09:30:36.689: \<key\>application-identifier\</key\> Jan 16 09:30:36.690: \<string\>9SKHU9VCU2.pl.edgard.kryminal.clh\</string\> Jan 16 09:30:36.690: \<key\>keychain-access-groups\</key\> Jan 16 09:30:36.690: \<array\> Jan 16 09:30:36.690: \<string\>9SKHU9VCU2.pl.edgard.kryminal.clh\</string\> Jan 16 09:30:36.690: \</array\> Jan 16 09:30:36.690: \<key\>get-task-allow\</key\> Jan 16 09:30:36.690: \<false/\> Jan 16 09:30:36.690: \</dict\> Jan 16 09:30:36.690: \</plist\> Jan 16 09:30:36.690: Creating Info.plist... Jan 16 09:30:36.714: /Users/pwilczynski/Desktop/Angielski z kryminałem - Cold little hand.app/Info.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “Info.plist” couldn’t be opened because there is no such file." UserInfo=0x7f8e735133d0 {NSFilePath=/Users/pwilczynski/Desktop/Angielski z kryminałem - Cold little hand.app/Info.plist, NSUnderlyingError=0x7f8e73513160 "The operation couldn’t be completed. No such file or directory"}) Jan 16 09:30:36.715: Error: failed to load /tmp/lua\_PZFoMd: 1 Jan 16 09:30:36.715: JSON: Jan 16 09:30:36.715: Runtime error ?:0: attempt to index a nil value stack traceback: [C]: ? ?: in function 'modifyPlist' ?: in function '?' ?: in function \<?:641\> Jan 16 09:30:36.723: iOS build failed (5)

Same problem Here:
 

Corona message when finishes building:

Build failed:

There was a problem linking the app.

Check the console for more information.

 

Console log:

Jan 16 10:03:28.272: Using Custom Build Id 00000

Jan 16 10:04:18.543: Using additional build settings from: /Users/Promineo/feedmyalien/build.settings

Jan 16 10:04:18.996: BUILD ERROR: There was a problem linking the app.

 

Check the console for more information.

Jan 16 10:04:19.007: iOS build failed (5)

Cannot build my app after upgrading to the most recent daily build.

Both these Corona builds fail: CoronaSDK-2015.2535, CoronaSDK-2015.2537

*** However, I went back to version Version 2015.2529 (2015.1.3) and it works! ****

So does Version 2015.2533 (2015.1.9)

Jan 16 09:36:56.050: Using Custom Build Id 00000 Jan 16 09:37:06.227: Using additional build settings from: /Volumes/Macintosh HD/Users/dgross/Corona Projects/photobook/build.settings Jan 16 09:37:06.348: ERROR: build command failed: mv -f "/Volumes/Macintosh HD/Users/dgross/Corona Projects/\_AppBuilds/MimeticBooks.app/MimeticBooks" "/Volumes/Macintosh HD/Users/dgross/Corona Projects/\_AppBuilds/MimeticBooks.app/Mimetic Books" Jan 16 09:37:06.348: ERROR: with exit code 1 and output: Jan 16 09:37:06.352: mv: rename /Volumes/Macintosh HD/Users/dgross/Corona Projects/\_AppBuilds/MimeticBooks.app/MimeticBooks to /Volumes/Macintosh HD/Users/dgross/Corona Projects/\_AppBuilds/MimeticBooks.app/Mimetic Books: No such file or directory Jan 16 09:37:06.451: BUILD ERROR: There was a problem linking the app. Check the console for more information. Jan 16 09:37:06.462: iOS build failed (5)

same problem:

Jan 17 04:06:24.600: Using Custom Build Id 00000
Jan 17 04:07:21.793: Using additional build settings from: /Users/edineicipriani/cine-app/build.settings
Jan 17 04:07:22.048: BUILD ERROR: There was a problem linking the app.
    
    Check the console for more information.

SOLUTION:

There is a major issue with daily builds 2535 to 2537.

The last good daily build is 2534 so go get it.

I wasted 4 hours on this problem today.

Thank you very much theromero, you saved my day

Same here. This issue happens with 2535 but not with earlier builds.

For @pwilczynski

The forums say you are a Starter tier account (but frequently, people will have access to other tiers).  Can you confirm your tier level and the version of Corona SDK you are running?

I think your error is different that everyone elses, since they are running on a later daily build which seems to be having issues.  Your error seems to do with your directory/application name:

/Users/pwilczynski/Desktop/ Angielski z kryminałem - Cold little hand.app /Info.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 “The file “Info.plist” couldn’t be opened because there is no such file.” UserInfo=0x7f8e735133d0 {NSFilePath=/Users/pwilczynski/Desktop/Angielski z kryminałem - Cold little hand.app/Info.plist, NSUnderlyingError=0x7f8e73513160 “The operation couldn’t be completed. No such file or directory”})

Spaces and non-ASCII letters cause build issues.  In fact this is another thing we continue to try and harden and one of the daily builds in the past few days deals with non-ASCII characters better.  I would recommend naming your app with out spaces and most certainly getting that one UTF-8 character out of there.   You can still have that name for the iTunes Connect display name of the app, but for the app bundle that name is going to be too long to show under the icon anyway.

As for the rest of you who did not provide the version number you are trying to build against, please post the version that is failing and try to drop back to 2534. 

Thanks

Rob

@theromero was this the issue you were messaging me about last night or is that a different problem still?

Thanks

Rob

Version 2015.2538 (2015.1.17)

Build failed:

There was a problem linking the app.

Check the console for more information

Just updated Corona to latest build. The previous version I had worked all right and just did a release version with it to iTunes. Don’t however remember the version number for it. Maybe a week old.

ISO

Okay I’ve alerted Engineering.   Please use daily build 2534 or earlier for now.  Since it’s the weekend, this may not get looked at until Monday or so.

Rob

This should be on the home page in blinking lights!!! Come on, more people need to be aware of this issue. I wasted too much time on this just to find out the last builds have been busted, smh. You guys used to be better then this…

I tried to build (removing spaces and build failed, back to 2534). Maybe remove the latest builds if they are broken?

Yes they are, you must build using 2534 or earlier. 

Just to be clear we know builds 2534 and earlier work. 

For Builds 2534 and earlier: If you are getting build errors with one of those version and you have spaces or non-ASCII characters in the directory name where the app is being built from, then try removing those spaces and non-ASCII characters.

For Builds 2535-2538:   Drop back to 2534.

Rob

I am using public release 2511. Removing non-ASCII char from directory name helped - this wasn’t a problem before, but now it solved it.

Thanks for all the info guys … we’ve figured out the issue and it should be fixed in Daily Build 2015.2539 and above.

Hi. I have just installed the latest daily to use the new notifications plugin and I’m getting the same build failed (5) error as the users above? I tried 2015.2548 and 2015.2546 and was going to try 2542 as that’s when the new plugin was introduced, but that daily build seems to not exist anymore?

2534 works fine, but the notifications plugin isn’t available.

Is there any additional information in your console log?

Rob

I’m pretty sure that yesterday it was complaining about similar issues to the above (mv -f) … having just re-installed the latest daily 2548 I get the following:

Feb  3 18:31:07.897: builder: buildOptions: {

Feb  3 18:31:07.897:   “dstDir”:"/Users/marcomark/Documents/Silvanite/Projects/Builds/SilvaniteMobile.app",

Feb  3 18:31:07.897:   “dstName”:“SilvaniteMobile”,

Feb  3 18:31:07.897:   “dstPath”:"/Users/marcomark/Documents/Silvanite/Projects/Builds/SilvaniteMobile.app/SilvaniteMobile",

Feb  3 18:31:07.897:   “librarySearchPaths”:["/Users/marcomark/Documents/Silvanite/Projects/Builds/SilvaniteMobile.app/.build/libtemplate"],

Feb  3 18:31:07.897:   “pluginsDir”:"/Users/marcomark/Documents/Silvanite/Projects/Builds/SilvaniteMobile.app/.build",

Feb  3 18:31:07.897:   “tmpDir”:"/var/folders/5f/zwr3hz1d7dzd1dydtz1371xc0000gn/T/CLtmp2wXIqM",

Feb  3 18:31:07.897:   “verbose”:false

Feb  3 18:31:07.897: }

Feb  3 18:31:08.326: ERROR: Builder failed: Undefined symbols for architecture armv7:

Feb  3 18:31:08.326: BUILD ERROR: There was a problem linking the app.

 

Check the console for more information.

Feb  3 18:31:08.326:   “_OBJC_CLASS_$_ASIdentifierManager”, referenced from:

Feb  3 18:31:08.326:       objc-class-ref in libads-admob.a(GADDevice.o)

Feb  3 18:31:08.326:       objc-class-ref in libads-admob.a(GADGestureIdUtil.o)

Feb  3 18:31:08.326: ld: symbol(s) not found for architecture armv7

Feb  3 18:31:08.326: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Feb  3 18:31:08.330: iOS build failed (5)