Missing required architecture arm64
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Missing required architecture arm64
Hello,
perhaps it would have been right to post at the topic "Linking Xcode and Livecode". It seems to be a similar problem?
I am new to Livecode and running it on a MiniMac 2018 with macOS Catalina ten fifteen four" (perhaps the problem?).
For every suggested combination of Xcode and Livecode (Xcode "ten one", "eleven three one", "eleven one"., "eleven four" and LiveCode Indy "nine five one", "nine six one" (dp 2), "nine six one" (dp 3)) I get the same following error if trying to save a standalone application:
… linking for arm (arm64) failed with ld: in '/usr/local/lib/libobj A tbd', missing required architecture arm64 in file /usr/local/lib/libobjc A tbd (2 slices) clang:error: linker command failed with exit Code 1...
I would be happy if someone could helps.
Thanks
Jens
Sorry for the numbers. I could not write them in the normal way because the forum software rejected to send it in another form.
perhaps it would have been right to post at the topic "Linking Xcode and Livecode". It seems to be a similar problem?
I am new to Livecode and running it on a MiniMac 2018 with macOS Catalina ten fifteen four" (perhaps the problem?).
For every suggested combination of Xcode and Livecode (Xcode "ten one", "eleven three one", "eleven one"., "eleven four" and LiveCode Indy "nine five one", "nine six one" (dp 2), "nine six one" (dp 3)) I get the same following error if trying to save a standalone application:
… linking for arm (arm64) failed with ld: in '/usr/local/lib/libobj A tbd', missing required architecture arm64 in file /usr/local/lib/libobjc A tbd (2 slices) clang:error: linker command failed with exit Code 1...
I would be happy if someone could helps.
Thanks
Jens
Sorry for the numbers. I could not write them in the normal way because the forum software rejected to send it in another form.
Re: Missing required architecture arm64
I can't get it to run.
I have deleted all versions of XCode on my Mac. Additionally I have the renamed then folder /Library/Developer.
Then I have installed LiveCode 9_6_0 DP-3 and Xode 11_3_1 as told in the FAQs.
Then installation of the Command Line Tools and sudo xcode-select -- switch path_to_xcode
… missing required Architecture arm64 ...
Perhaps someone can help?
Thanks
Jens
I have deleted all versions of XCode on my Mac. Additionally I have the renamed then folder /Library/Developer.
Then I have installed LiveCode 9_6_0 DP-3 and Xode 11_3_1 as told in the FAQs.
Then installation of the Command Line Tools and sudo xcode-select -- switch path_to_xcode
… missing required Architecture arm64 ...
Perhaps someone can help?
Thanks
Jens
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Missing required architecture arm64
Hello Jens,
You might need to install Xcode's additional components. After you reinstalled Xcode, have you opened it? When opening Xcode for the first time, you should be prompted to install Xcode's additional components.
Also, could you post a screenshot of the iOS standalone settings of the stack you are trying to build as an iOS standalone?
Kind regards,
Panos
--
You might need to install Xcode's additional components. After you reinstalled Xcode, have you opened it? When opening Xcode for the first time, you should be prompted to install Xcode's additional components.
Also, could you post a screenshot of the iOS standalone settings of the stack you are trying to build as an iOS standalone?
Kind regards,
Panos
--
Re: Missing required architecture arm64
Hello,
the additional components are installed.
[img]https://www_directupload_net/file/d/5789/dk787bjn_png_htm[/img]
I hope you can help.
Thank you very much.
Jens
Problem: You can’t post image, email or url links that are external to this domain. Please remove
I have changed . to _
the additional components are installed.
[img]https://www_directupload_net/file/d/5789/dk787bjn_png_htm[/img]
I hope you can help.
Thank you very much.
Jens
Problem: You can’t post image, email or url links that are external to this domain. Please remove
I have changed . to _
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Missing required architecture arm64
Hello Jens,
Could you also post a screenshot of your LiveCode -> Preferences -> Mobile Support?
I was able to reproduce the error you get if I delete the file:
Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libobjc.A.tbd
LC needs this file for building the iOS standalone. So it looks like something in your Xcode setup is not correct.
Also, what does this terminal command output?
Kind regards,
Panos
--
Could you also post a screenshot of your LiveCode -> Preferences -> Mobile Support?
I was able to reproduce the error you get if I delete the file:
Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libobjc.A.tbd
LC needs this file for building the iOS standalone. So it looks like something in your Xcode setup is not correct.
Also, what does this terminal command output?
Code: Select all
xcode-select -p
Panos
--
Re: Missing required architecture arm64
Hello,
thanks so far. For me that sounds very promising.
Jens
xcode-select -p
-> /Applications/Xcode11_31_app/Contents/Developer
[img]https://www_directupload_net/file/d/5789/7irnqx9d_png_htm[/img]
Because of upload problems of the picture: I have changed . to _
thanks so far. For me that sounds very promising.
Jens
xcode-select -p
-> /Applications/Xcode11_31_app/Contents/Developer
[img]https://www_directupload_net/file/d/5789/7irnqx9d_png_htm[/img]
Because of upload problems of the picture: I have changed . to _
Re: Missing required architecture arm64
Hello,
I have found the file Xcode11_3_1_app/Contents/Developer/Platforms/iPhoneOS_platform/Developer/SDKs/iPhoneOS_sdk/usr/lib/libobjc_A_tbd
But it was a little difficult to do this. At the beginning I cound not use 'cd' to come to the file.
Then I used 'sudo cd' and now ist ok.
Perhaps that helps?
Jens
I have found the file Xcode11_3_1_app/Contents/Developer/Platforms/iPhoneOS_platform/Developer/SDKs/iPhoneOS_sdk/usr/lib/libobjc_A_tbd
But it was a little difficult to do this. At the beginning I cound not use 'cd' to come to the file.
Then I used 'sudo cd' and now ist ok.
Perhaps that helps?
Jens
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Missing required architecture arm64
Hello Jens,
OK, so the required file seems to be there.
I just looked again at your original error:
Could you try the following:
Open Finder and choose "Go" -> "Go to Folder" and enter "/usr/local/lib/". Then check if a file libobjc.A.tbd is there, and if yes, rename it to "OLD_libobjc.A.tbd_OLD" (or remove it). Then restart LC, and check if you still get that error.
Kind regards,
Panos
--
OK, so the required file seems to be there.
I just looked again at your original error:
This ^^ path has a subfolder named "local", which is not present in the Xcode app bundle. So I am wondering if for some reason LiveCode does not look for this file in the Xcode bundle, but instead first it looks at your "/usr/local/lib/" folder.linking for arm (arm64) failed with ld: in '/usr/local/lib/libobj A tbd ..
Could you try the following:
Open Finder and choose "Go" -> "Go to Folder" and enter "/usr/local/lib/". Then check if a file libobjc.A.tbd is there, and if yes, rename it to "OLD_libobjc.A.tbd_OLD" (or remove it). Then restart LC, and check if you still get that error.
Kind regards,
Panos
--
Re: Missing required architecture arm64
Hello,
it seems not so good: A Long list of Errors:
[img]https://www_directupload_net/file/d/5789/ikdfxa7z_png_htm[/img]
Jens
it seems not so good: A Long list of Errors:
[img]https://www_directupload_net/file/d/5789/ikdfxa7z_png_htm[/img]
Jens
Re: Missing required architecture arm64
At the end:
ld: Symbol(s) not found for architecture arm64
ld: Symbol(s) not found for architecture arm64
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Missing required architecture arm64
Hello Jens,
hmm that's strange. Definitely something related to the Xcode installation.
- Just to confirm, can you open Xcode without any errors?
- if you open Xcode and go to Xcode -> Preferences -> Locations, do you see "Xcode 11.3.1" in the "command line tools" dropdown?
- What are the contents of your /Library/Developer/ folder?
Kind regards,
Panos
--
PS: Once you reach 10 posts, you will be able to attach images and post links without any problems
hmm that's strange. Definitely something related to the Xcode installation.
- Just to confirm, can you open Xcode without any errors?
- if you open Xcode and go to Xcode -> Preferences -> Locations, do you see "Xcode 11.3.1" in the "command line tools" dropdown?
- What are the contents of your /Library/Developer/ folder?
Kind regards,
Panos
--
PS: Once you reach 10 posts, you will be able to attach images and post links without any problems
Re: Missing required architecture arm64
Hello,
no problems with opening XCode.
XCode -> Preferences -> Locations: Command Line Tools XCode 11.3.1 (11C505)
/Library/Developer/
Dir CommandLineTools
Dir CoreSimulator
Dir Private Frameworks
Libraray_Developer -> Picture
[img]https://www_directupload_net/file/d/5789/43sqwdjy_png_htm[/img]
For me it seems that the SDK is missing?
Jens
no problems with opening XCode.
XCode -> Preferences -> Locations: Command Line Tools XCode 11.3.1 (11C505)
/Library/Developer/
Dir CommandLineTools
Dir CoreSimulator
Dir Private Frameworks
Libraray_Developer -> Picture
[img]https://www_directupload_net/file/d/5789/43sqwdjy_png_htm[/img]
For me it seems that the SDK is missing?
Jens
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Missing required architecture arm64
Hmm, I have a slightly different structure, but I am on MacOS Mojave:
Where does your "MacOSX.sdk" alias point to?
I remember that at some point I had to install the MacOS Mojave headers by running this command:
Maybe you could try that too - or modify this for MacOS 10.15?
I am starting to run out of ideas. I know that several LC users are on Catalina and can build iOS apps with Xcode 11.3.1, so it is very strange why you get these errors.
Kind regards,
Panos
--
Where does your "MacOSX.sdk" alias point to?
I remember that at some point I had to install the MacOS Mojave headers by running this command:
Code: Select all
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
I am starting to run out of ideas. I know that several LC users are on Catalina and can build iOS apps with Xcode 11.3.1, so it is very strange why you get these errors.
Kind regards,
Panos
--
Re: Missing required architecture arm64
Hello,
the MacOSX.sdk points to the MacOSX10.15.sdk
If I try to install I always get: 'The package path specified was invalid'
I had uninstalled all versions of XCode and then installed XCode 11.3.1.
I had not uninstalled Livecode? Perhaps I should uninstall erverything and then install Xcode 11.3.1 und then Livecode?
Thank you very much
Jens
the MacOSX.sdk points to the MacOSX10.15.sdk
If I try to install I always get: 'The package path specified was invalid'
I had uninstalled all versions of XCode and then installed XCode 11.3.1.
I had not uninstalled Livecode? Perhaps I should uninstall erverything and then install Xcode 11.3.1 und then Livecode?
Thank you very much
Jens
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Missing required architecture arm64
Hello Jens,
Are you trying to install the MacOS 10.14 headers, or the 10.15 ones? I am not sure which is the path for the 10.15 ones. If you get this error when trying to install the 10.14 ones, you might need to create the folder "Packages" manually first.
You do not need to uninstall LiveCode, but it would be a good idea to uninstall Xcode 11.3.1 and then reinstall it. You can download it directly from Apple's downloads page:
http://developer.apple.com/download/more/
Kind regards,
Panos
--
Are you trying to install the MacOS 10.14 headers, or the 10.15 ones? I am not sure which is the path for the 10.15 ones. If you get this error when trying to install the 10.14 ones, you might need to create the folder "Packages" manually first.
You do not need to uninstall LiveCode, but it would be a good idea to uninstall Xcode 11.3.1 and then reinstall it. You can download it directly from Apple's downloads page:
http://developer.apple.com/download/more/
Kind regards,
Panos
--