Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode 14.3 build issue #18

Open
andyacer opened this issue Jul 30, 2023 · 1 comment
Open

XCode 14.3 build issue #18

andyacer opened this issue Jul 30, 2023 · 1 comment

Comments

@andyacer
Copy link

This repo is affected by the XCode 14.3 and cocoapods issue. The below solution worked for me.

Solution: (Credit: https://stackoverflow.com/a/75920796)

cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/

sudo mkdir arc

# While executing the above command, the OS will block it
# and give an error. Allow permission from the settings
# and run the command again.

cd arc
sudo git clone https://github.com/kamyarelyasi/Libarclite-Files.git .

More info

Build fails on XCode 14.3 with these errors for Realm or Bolts.

File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
Linker command failed with exit code 1 (use -v to see invocation)

image

I tried this solution, which didn't seem to fix it.
https://stackoverflow.com/a/75980471

Sudo concern

Sudo and Github are a bad mix. I'd recommend an alternative if someone can get one working.

References:
https://github.com/kamyarelyasi/Libarclite-Files
https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3/75980471#75980471

@Tony-Y
Copy link
Contributor

Tony-Y commented Aug 10, 2023

When building this app on Xcode 14.3.1, I did not suffer from the following solution:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants