Linking errors building from 6.0 for iOS

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Adrian
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 79
Joined: Wed Jul 11, 2012 5:03 pm

Linking errors building from 6.0 for iOS

Post by Adrian » Thu Apr 11, 2013 8:54 am

Hi,

I thought I'd try the new 6.0 Community version and build an app for iOS. It does appear to create an app file, but when building there is a long error message which begins:

Linking for Armv7 failed with ID: warning: ignoring file

and then continues with several file paths, such as

/Applications/Livecode community 6.0.app/COntents/Tools/Runtime/iOS/Device-6_1/dbsqlite, file was built for i386 which is not the architecture being linked (Armv7)

My build settings are iPad, 5.1 or later, Arm v7

Is this something I'm doing (or not doing right)?

Cheers,

Adrian

*Edit* - I notice the built file size is much smaller (around 3Mb instead of 8Mb)

*Further edit* - Although I can drag the app onto Xcode and it prompts to confirm replacing the app on the iPad, it doesn't actually change the app.

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Contact:

Re: Linking errors building from 6.0 for iOS

Post by dave_probertGA6e24 » Thu Apr 11, 2013 9:10 am

Hi,

I can confirm this message - I get similar complaints when trying to compile for iPad, 6.1, Arm7. Works fine for LC 5.5.4, but not with LC 6.0.

Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

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

Re: Linking errors building from 6.0 for iOS

Post by LCNeil » Thu Apr 11, 2013 9:28 am

Hi Adrian and Dave,

I'm sorry to hear of the iOS build issues you are both experiencing.

If possible, could you submit a bug report to LiveCode Quality Control. We will then try to replicate the issue and fix the bug if required. You will be able to file a report here-

http://quality.runrev.com

After the report has be submitted please add a reply to this forum topic with the bug number.

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
Support Open Source LiveCode on Kick-starter
http://www.kickstarter.com/projects/175 ... f-livecode
--

Adrian
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 79
Joined: Wed Jul 11, 2012 5:03 pm

Re: Linking errors building from 6.0 for iOS

Post by Adrian » Thu Apr 11, 2013 9:39 am

Thanks Neil. I have created bug report 10832 for this.

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

Re: Linking errors building from 6.0 for iOS

Post by LCNeil » Thu Apr 11, 2013 11:37 am

Hi Dave,

Thank you submitting the report.

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
Support Open Source LiveCode on Kick-starter
http://www.kickstarter.com/projects/175 ... f-livecode
--

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Contact:

Re: Linking errors building from 6.0 for iOS

Post by dave_probertGA6e24 » Thu Apr 11, 2013 12:00 pm

Hi Neil,

Adrian was actually the one who submitted the bug report - I'll not submit a duplicate though.

Looking forward to seeing a fix.

Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

Re: Linking errors building from 6.0 for iOS

Post by scotttyang » Fri Apr 12, 2013 4:50 am

yeah. same problem here. Ouch, right out of the gate! dying to see how 6.0 work on a real ios device.

whapee
Posts: 1
Joined: Fri Apr 12, 2013 9:42 am

Re: Linking errors building from 6.0 for iOS

Post by whapee » Fri Apr 12, 2013 9:49 am

Same here. 10.8.3 with XCode 4.6 and additional 5.1 SDK.

MadManSoft
Posts: 36
Joined: Fri Apr 12, 2013 9:15 pm

Re: Linking errors building from 6.0 for iOS

Post by MadManSoft » Fri Apr 12, 2013 9:26 pm

Same here, 10.8.3 with 6.1 and 5.1 SDK installed.

It bombs on all selections, Universal, ARM6 and ARM7.

Can't Copy/past the error, but here goes nothing:

Linking for armv6 failed with Id: warning: ignoring file /Applications/LiveCode Community 6.0.app/Contents/Tools/Runtime/iOS/Device-5_1/Standalone, file was built for i386 which is not the architecture being linked (armv6)
Undefined symbols for architecture armv6:
"_main", referenced from: start in crt1.3.1.o
Id: symbols(s) not found for architecture armv6
collect2:Id returned 1 exit status

The same error repeats, with armv7 instead of armv6 when building specifically for arm7

Thanks, enjoying this product, can't wait to run some test on a real device. Works well on the simulator.

UPDATE: Found the bug report and acknowledgement as bug 10829

Post Reply