Page 1 of 1
Linking errors building from 6.0 for iOS
Posted: Thu Apr 11, 2013 8:54 am
by Adrian
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.
Re: Linking errors building from 6.0 for iOS
Posted: Thu Apr 11, 2013 9:10 am
by dave_probertGA6e24
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
Re: Linking errors building from 6.0 for iOS
Posted: Thu Apr 11, 2013 9:28 am
by LCNeil
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
--
Re: Linking errors building from 6.0 for iOS
Posted: Thu Apr 11, 2013 9:39 am
by Adrian
Thanks Neil. I have created bug report 10832 for this.
Re: Linking errors building from 6.0 for iOS
Posted: Thu Apr 11, 2013 11:37 am
by LCNeil
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
--
Re: Linking errors building from 6.0 for iOS
Posted: Thu Apr 11, 2013 12:00 pm
by dave_probertGA6e24
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
Re: Linking errors building from 6.0 for iOS
Posted: Fri Apr 12, 2013 4:50 am
by scotttyang
yeah. same problem here. Ouch, right out of the gate! dying to see how 6.0 work on a real ios device.
Re: Linking errors building from 6.0 for iOS
Posted: Fri Apr 12, 2013 9:49 am
by whapee
Same here. 10.8.3 with XCode 4.6 and additional 5.1 SDK.
Re: Linking errors building from 6.0 for iOS
Posted: Fri Apr 12, 2013 9:26 pm
by MadManSoft
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