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
Carthage build fail in Xcode 14.3. #3333
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
In the meantime I just updated the workaround script for Xcode 14.3 like this:
In my case I added these lines (because I got errors about bitcode and min target iOS):
then run it with (
|
+1 workaround script above not working either |
Found a solution. You can check whether this applies to you by opening the library that Carthage fails to compile with Xcode and trying to build it from there. If Xcode gives you an error like "File not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a" you can follow the steps below to fix the issue. By trying to compile each library directly with Xcode I found the linker was expecting to find some files in the Xcode toolchain at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc. Apparently Apple has removed the arc library altogether in Xcode 14.3. Searching online I found this: https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3
That's it, everything works, deployment on simulator, on device, archiving. |
This worked for me, thanks. |
For a new iOS programmer, it is a disaster compared to android, because it's development environment like shit |
Adding files to Xcode.app every time Xcode is upgraded is troublesome. |
I used solution based on #3333 (comment) for solving same issue:
Overriding works well for xcode 14.3.1 (requires 11.0):
|
the solution is to move to SPM as soon as possible for everything you use. |
Worked for me. Thanks |
which carthage
: /usr/local/bin/carthagecarthage version
: 0.39.0xcodebuild -version
: Xcode 14.3 Build version 14E222b--no-build
? NO--no-use-binaries
? NO--use-submodules
? NO--cache-builds
? NO--new-resolver
? NO--use-xcframeworks
? YESCartfile
Carthage Output
Actual outcome
Build fail.
Expected outcome
Build success.
The text was updated successfully, but these errors were encountered: