Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
drkosta
Posts: 34
Joined: Wed May 22, 2013 8:40 pm
Location: Stuttgart / Germany
Contact:

Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Post by drkosta » Thu Jan 24, 2019 11:39 pm

Hi there,

an again returning issue with LC und Xcode...

I tried everything to build my app on my iMac or to use my iPhone (iOS 12.1.3) as test target device. Wenn I hit "test" or "safe as standalone application". It stops at the point at "linking engine". (Testing in the Simulator is no problem).

What I cheeped and tried:

Checked Xcode Commandline Tools (Vereins 10.0 is used)
Checked which SDK in LC is used (SDK 12.0)
Reinstalled Livecode
Reinstalled Xcode (and Command Line Tools)
Restarted iMac

Any Idea?

The most weird is (but something which is good too) that with the same configuration (LC 9.0.2, Xcode 10.0) I can run test on iPhone and build standalone when working on my MacBook.

Would great I someone could help me :)

Regards

Kosta
Bildschirmfoto 2019-01-24 um 23.26.52.png
Bildschirmfoto 2019-01-24 um 23.26.28.png
Bildschirmfoto 2019-01-24 um 23.43.16.png

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Post by LiveCode_Panos » Fri Jan 25, 2019 8:23 am

Hello drkosta

Do you see this error even when building an iOS standalone from a very simple stack, e.g. a stack with just one card and a button?

Moreover, do you have any externals included in the Copy Files section?

Kind regards,
Panos
--

PS: What is the MacOS version of the iMac and MacBook?

drkosta
Posts: 34
Joined: Wed May 22, 2013 8:40 pm
Location: Stuttgart / Germany
Contact:

Re: Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Post by drkosta » Fri Jan 25, 2019 9:53 pm

Hi Pano,

I tried with a new stack, only one button and the compiler did work.

I removed step by step every substack, elements and so one from my stack until it was just a blank white card without any code and same error comes up.

Tried with other of stacks. The same. I cannot compile my "old" stacks. only newly created. No clue what's going on here...

I had just a html file in the copy File section. I removed is too, no change.

Other of my stacks do not use any externals.

The MacOs Version on iMac and Macbook is the same 10.14.3., LC 9.0.2, Xcode 10.0 with command lines tools 10.0.

drkosta
Posts: 34
Joined: Wed May 22, 2013 8:40 pm
Location: Stuttgart / Germany
Contact:

Re: Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Post by drkosta » Tue Jan 29, 2019 1:49 pm

Some more observations:

I found a very old stack which I tried to compile it compiled without any issues.

A stack from the same time did not compile. The difference was, that one stack uses MobGUI and the other one which compile do not use it.

But if I remove any Mobgui sub stacks the issue remains.

I tried with a clean intstall from Xcode and command line tools. Removed everything from Library what is Xcode related. Deinstalled pod. Installed pod.
Changed the user on my mac. Reinstalled LiveCode. Nothing helped. If I build only as 32 Bit, than a similar error appears which shows an arm 7 issue (instead of 64).

Bevor I delete my whole mac maybe there is something else I can do?

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Post by LiveCode_Panos » Tue Jan 29, 2019 2:20 pm

Hello drkosta,

You could file a bug report and send your stack to panos.merakos@livecode.com if it is confidential. If we see the same problem in our machines, we might be able to identify the culprit in your stack.

Kind regards,
Panos
--

drkosta
Posts: 34
Joined: Wed May 22, 2013 8:40 pm
Location: Stuttgart / Germany
Contact:

Re: Cannot build with LC 9.0.2 - Xcode 10 (SDK 12.0)

Post by drkosta » Wed Jan 30, 2019 12:05 am

Hi Pano,

maybe I will do that ;)

I found a workaround maybe this gives you the hint where the problem could be:

I made a new stack, one button. No problem with compiling.
I added animation engine as substack. Issue.
Removed it again. No problem.

Added again and used "select inclusions for the standalone application" instead of "search for required..." in the general mask. No problem anymore with compiling.

I believe this would hardly be reproducible on any other system. I cannot even reproduce it on my own systems (tried on a third mac without any issues, same OS, LC and Xcode Version).

Cheers Kosta

Post Reply

Return to “iOS Deployment”