IOS swift – Failed to build module ‘FBSDKCoreKit’

完整問題:

Failed to build module ‘FBSDKCoreKit’; this SDK is not supported by the compiler (the SDK is built with ‘Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)’, while this compiler is ‘Apple Swift version 5.8 (swiftlang-5.8.0.124.1 clang-1403.0.22.11.100)’). Please select a toolchain which matches the SDK.

Solution:

https://github.com/facebook/facebook-ios-sdk/issues/2180

https://www.swift.org/blog/library-evolution/#:~:text=When%20using%20Xcode%20to%20develop,both%20Debug%20and%20Release%20builds.

%d 位部落客按了讚: