Standalone build failure (arm failed)

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Standalone build failure (arm failed)

Post by Scoperzor » Wed Apr 06, 2016 7:08 am

Hi all

Really struggling to complete an iOS build after I had some issues with my SDKs. I'm now trying on 3 different versions of LC (7.0.6, 7.1.3, 7.1.4), whereas just a week ago the builds were completing with no issue on 7.0.6 and 7.1.3. I had originally got the error of LC needing the iOS 9.2 SDK which is why I had to shuffle Xcode files around, but now I can't seem to figure out what this new error is after googling and none of the answers working.

On 7.1.4 I receive the error when building:
linking for arm failed with lipo: error: unable to find utility "lipo", not a developer tool or in PATH

On 7.0.6:
linking for arm (arm64) failed with g++: error: unable to find utility "g++", not a developer tool or in PATH

I have tried swapping between different stacks on both versions with the same results, my stacks do not have any externals/substacks and my Externals folder in LC has been emptied out. I have Xcode 6.2 installed and also installed 7.3 afterwards in conjunction.

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Standalone build failure (arm failed)

Post by quailcreek » Thu Apr 07, 2016 2:33 am

Do a search on the forum for arm failed. You'll get plenty of information. Probably you need to open Xcode and sign the Ts & Cs.
Tom
MacBook Pro OS Mojave 10.14

Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Re: Standalone build failure (arm failed)

Post by Scoperzor » Thu Apr 07, 2016 6:15 am

quailcreek wrote:Do a search on the forum for arm failed. You'll get plenty of information. Probably you need to open Xcode and sign the Ts & Cs.
That's why I mentioned I had looked around already. I tried the T&C's one, didn't work.

I have actually had to uninstall all of my Xcode and Livecode versions simultaneously and then go back to LC 7.0.6 and Xcode 6.2 for anything to work again. Hooray for unsupported SDKs, another reason why I can never reliably update to newer LC versions.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Standalone build failure (arm failed)

Post by jacque » Thu Apr 07, 2016 4:40 pm

You can keep multiple copies of Xcode and LC on disk. No need to uninstall. Right now I have four versions of LC and three Xcode.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Re: Standalone build failure (arm failed)

Post by Scoperzor » Fri Apr 08, 2016 9:11 am

jacque wrote:You can keep multiple copies of Xcode and LC on disk. No need to uninstall. Right now I have four versions of LC and three Xcode.
I did keep 7.0.6 and 7.1.3 as well as Xcode 6.2 and 7 together on disk for a while, and it was all fine until I started getting these errors, and then the only solution seemed to be a clean install of these older versions. I'm not saying your setup wouldn't generally work, just that mine was the only reliable solution to this issue I had.

Post Reply