Missing required architecture arm64

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Tue Apr 14, 2020 3:38 pm

Hello,

I have tried 10.14. and 10.15. Both failed.
The Folder "Packages" I had created first manually.


I will try to uninstall Xcode again and install it again. Are there any folders I should delete before installing again?

Jens

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

Re: Missing required architecture arm64

Post by LiveCode_Panos » Tue Apr 14, 2020 3:51 pm

Hmm, I am wondering why it fails for you. This is what I get:

Code: Select all

192:livecode-commercial panos$ sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
Password:
installer: Package name is macOS_SDK_headers_for_macOS_10.14
installer: Upgrading at base path /
installer: The upgrade was successful.
192:livecode-commercial panos$ 
Are there any folders I should delete before installing again?
Hmm, good question. I think you should remove the /Library/Developer folder.

When you reinstall it, again, make sure you first open it (so as you will be prompted to download Xcode's additional components), and then make sure your command line tools are the ones of Xcode 11.3.1 (Xcode -> Preferences -> Locations -> Command Line Tools)

Kind regards,
Panos
--

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Tue Apr 14, 2020 4:13 pm

Hello,

now I have copied your Installation command and tried 10.14 and 10.15. It failed.

I will try a complete new installation and delete the folder.

Thank you very much - you are very engaged.

Jens

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Tue Apr 14, 2020 4:37 pm

Hello,

I have still problems.

Xcode deleted. New installation of Xcode 11.3.1. -> additional components -> command line tools - command line tools in xcode selected

Now I have the same problem as after renaming '/usr/local/lib/libobj A tbd ..to OLD_Libobj.. A lot of errors …

Livecode uses /usr/local/lib.

Please help.

Jens

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

Re: Missing required architecture arm64

Post by LiveCode_Panos » Tue Apr 14, 2020 4:51 pm

hmm that's very strange.

Out of curiosity, what happens if you copy the "correct" libobjc.A.tbd file, i.e. the:

Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libobjc.A.tbd

and paste it into /usr/local/lib/ ?

I will ask the LC team in case they have any ideas.

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Tue Apr 14, 2020 5:03 pm

Hello,

I have done that -> … linking for arm (arm64) failed with Undefined Symbols for architecture arm64.

I am a Little bit unhappy. But thanks for help.
Jens
Attachments
copied.png

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

Re: Missing required architecture arm64

Post by LiveCode_Panos » Tue Apr 14, 2020 8:56 pm

Hello Jens,

I can understand your frustration. If you like you can try this:

- Delete /Library/Developer/CommandLineTools/ folder
- Download the command line tools manually:

https://download.developer.apple.com/De ... 11.3.1.dmg

- Quit and restart LC and try again to build an iOS app.

It seems other people (using other software) have problems with command line tools and Catalina: https://github.com/nodejs/node-gyp/blob ... atalina.md (see "3" in "Solutions")

Regards,
Panos
--

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Wed Apr 15, 2020 9:29 am

Hello,

I have done it. But the problem remains -> missing required Architecture arm64.

I think it is a problem of Catalina.

Thank you so far
jens

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Thu Apr 16, 2020 3:49 pm

Hello,

I have tried the new 9.6.0 DP 4 with Xcode (->requirements) 11.3. and 11.3.1. Deleted Library/Developer, have installed additional components and I am using CommandLineTools 11.3.

Same Problem.

????????????

Anything I can do?

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

Re: Missing required architecture arm64

Post by LiveCode_Panos » Fri Apr 17, 2020 6:26 am

Hello Jens,

I am going to upgrade a mac-mini to MacOS Catalina 10.15.4, and see if I can reproduce this issue.

I will post back when I have an update.

Kind regards,
Panos
--

ikomgmbh
Posts: 16
Joined: Wed Apr 08, 2020 2:52 pm

Re: Missing required architecture arm64

Post by ikomgmbh » Fri Apr 17, 2020 8:39 am

Hello,

I have reinstalled MacOs Catalina. Then installed XCode 11.3.1 and then LiveCode 9.6.0-dp-4.

Now everything is OK!!!! :D :D :D

I believe the problem was something with my Catalina installation.

Thank you very much for Your friendly patience.

Jens

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

Re: Missing required architecture arm64

Post by LiveCode_Panos » Fri Apr 17, 2020 9:50 am

Hello Jens,

Hehe, thank YOU for your persistence :)

I am glad everything works now.

Kind regards,
Panos
--

Post Reply

Return to “iOS Deployment”