Build standalone with 8 indy (Linking for arm (arm7) failed

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
nicolascro
Posts: 7
Joined: Tue Apr 17, 2012 6:21 pm

Build standalone with 8 indy (Linking for arm (arm7) failed

Post by nicolascro » Wed Sep 16, 2015 10:43 am

Hi, I've recently installed LC indy 8.0 dp4 and when I attempt to build a standalone (with any app even the simplest hello world app) I get:

Linking for arm (arm7) failed with duplicate symbol _NXargc in:
/Applications/Xcode.app/Contents/Developer/Platofrms?iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/lib/crt1.3.1..o
duplicate symbol _NXargv in:
.....
duplicate symbol _programe in:
.....
duplicate symbol _environ in:
.....
duplicate symbol start in:
.....
id: duplicate symbols for architecture armv7
clang:error: linker command failed with exit code 1 (use-v to see invocation)


Note that I've also installed LC8 communtiy and building a standalone work fine in this version
(and 7.1 indy also works fine - although the resulting app crashes on start on my iphone while it works fine on ipad -same ios :| :| )

Does this happen to anybody else?
any idea?
thanks

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Build standalone with 8 indy (Linking for arm (arm7) fai

Post by LCNeil » Wed Sep 16, 2015 12:15 pm

Hi nicolascro,

I've attempted to replicate this in DP4 and device builds seems to be working without any issues for me.

If possible could you let me know the following and I will look into this further-

- Xcode Version
- OSX Version

In regards to the crashing app on an iPhone (7.1 build), this sounds like it could be a bug. Please file a bug report on the issue with our Quality Control team and we will happily investigate further-

http://quality.runrev.com

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Build standalone with 8 indy (Linking for arm (arm7) fai

Post by LCNeil » Wed Sep 16, 2015 12:19 pm

I do note you are using Indy. I was building with community. I will test building with Indy and get back to you with the outcome

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Build standalone with 8 indy (Linking for arm (arm7) fai

Post by LCNeil » Wed Sep 16, 2015 12:40 pm

Yeah, this looks to be a bug with indy deployment as the same error is happening for myself when attempting a build.

Please file a report with our QC team and we will investigate this asap

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

nicolascro
Posts: 7
Joined: Tue Apr 17, 2012 6:21 pm

Re: Build standalone with 8 indy (Linking for arm (arm7) fai

Post by nicolascro » Wed Sep 16, 2015 1:05 pm

Hi Neil, thanks for the answer,
I am kind of glad it is not only me. I'll report the bug, thanks

but now, that leaves me with no possibility to publish either using 7.1 (bug) nor 8(bug), I had updated from 7.0.6(which is what I had been using successfuly until recently) because I started having problems with the builds not installing fine through testflight (I was using a workaround modifying the storeentitlement.xcent file until then and I could testflight fine). so basically I can´t publish either in 7.0.6, 7.1 nor 8.0...
I am stuck, and that is very frustrating... Do you have an idea of what I can do? Do you know if the business version of 8 work fine (as the community version does)?

Regards
Nicolas

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Build standalone with 8 indy (Linking for arm (arm7) fai

Post by LCNeil » Wed Sep 16, 2015 1:53 pm

Hi nicolascro,

We've not had any other Quality Reports on LiveCode apps crashing on certain iOS devices so this does seem like something quite specific. The quicker we can investigate the issue, the quicker we will be able to fix it.

In regards to the business version of 8, the error happens with this version also so it does seem to relate to the commercial engine that is being used in these versions.

With that being said, although LiveCode 8 is relatively stable, I would not yet use this for dedicated standalone building as its still in DP status and, as you have experienced, there may be some bug present that have a not yet been discovered.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

Post Reply