-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Failed to build module 'FBSDKLoginKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.119.11 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK. #2186
Comments
Likely related to Xcode not being used in rosetta mode anymore (14.3 drops this). I'm using FB SDK v 14.1 via SPM and same issue occurs. Updating to v 16.0.0 may have avoided this, but I am seeing other build errors so I cannot confirm (not sure if it's related to FB SDK still or not) - other tests/input would be good to confirm whether 16.0.0 (or any other updated version) fixes this issue. edit: I encountered a new FB sdk error (same one as before, just later in the process), so I don't think 16.0.0 will be the fix here. |
try to build source code and export XCFramework with your Xcode version, it is a work around. |
I'm encountering the same issue using SPM. I tried updating to 16.0.0 but no dice. I'm hoping to avoid a manual workaround like building an XCFramework from source, so hope this is resolved soon! |
same issue with Xcode 14.1 |
Same in Xcode 14.3 RC. Hope to get this fixed soon enough |
Same issue in Xcode 14.3 RC:
|
+1 (Xcode 14.3 RC) |
xcode cloud failed to build
|
Duplicate of #2180. |
any fix to this issue? |
Showing Recent Messages 这个问题有什么解决方案么? |
Failed to build module 'FBSDKCoreKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)', while this compiler is 'Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)'). Please select a toolchain which matches the SDK. Xcode version 14.0 tried to downgrade the SDK version to 16.0, 15.1 for trial and error but couldn't resolve. Will do more trial and errors meanwhile in all ways possible. |
Same issue here, XCode 15.3 . Any workarounds? Cannot submit to review because I cannot build an archive for submission =/
|
The same issue with Xcode 15.3 The problems roots
Because the current version of the FB dependency, 17.0.0, was compiled with Swift 5.9.2 (5.9.2.2.56), and module stability with swift evolution available from Swift 5.1 is not yet enabled (
This happens if the deployment target in your project settings is higher than iOS 14. The pre-compiled xcframeworks were compiled with the iOS 12 deployment target. How to fix by yourself Download the source code and re-compile it. It's easy, but here are some tips not to waste your time:
That's it. Long story short:
What should be fixed by the FB team
|
👍 |
same issue |
same issue in Xcode 15.3 |
any solution for above issue? |
Checklist before submitting a bug report
Xcode version
14.3 beta 2
Facebook iOS SDK version
14.1.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
Want to compile and run the project
Expected results
Should be able to create a build
Actual results
Build failed
Steps to reproduce
Building for actual device or simulator produces the same result. But worked fine with Xcode 14.2.
Apple M1 chip machine is used.
The text was updated successfully, but these errors were encountered: