-
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
version problem #2141
Comments
same issue here when build the app with xcode cloud Xcode version Facebook iOS SDK version Dependency Manager Error Message |
Facing same issue |
Same issue for me as well |
Same issue here. SDK version 15.1.0 Xcode 14.0.1 Installed the SDK with Cocoapods. /Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/FBSDKCoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface:1:1: Failed to build module 'FBSDKCoreKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)', 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. |
The same with SPM, too. It would be great if you added module stability and swift evolution support to all inner dependencies that come with FacebookSDK, like FBSDKGamingServicesKit. It would definitely eliminate the problem |
For some reason pod 'FacebookSDK' gives me this issue but when I replace it with |
hihi @amrogad what do you do in replacing? |
Could someone solve this problem? |
Go to the Podfile
with
that's what did it for me |
oh, thanks , it didn't work for me , in my pod file wasn't involve FacebookSDK. |
Failed to build module 'FBSDKLoginKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)', while this compiler is 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK. |
There is a work around for cocoapods, add these code in Podfile
|
I finally tried to solve this problem a year later and this is what did it for me. Thank you! |
what about people using the sdk package? |
Checklist before submitting a bug report
Xcode version
14.1
Facebook iOS SDK version
15.1.0
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
Failed to build module 'FBSDKCoreKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)', while this compiler is 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK.
Expected results
update the sdk
Actual results
update the sdk
Steps to reproduce
Failed to build module 'FBSDKCoreKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)', while this compiler is 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK.
Code samples & details
The text was updated successfully, but these errors were encountered: