facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.8k stars 3.56k forks source link

Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3 compiler: /xxx/Carthage/Build/iOS/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftmodule #1495

Closed pengkun closed 4 years ago

pengkun commented 4 years ago

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3 compiler: /xxx/Carthage/Build/iOS/FBSDKLoginKit.framework/Modules/FBSDKLoginKit.swiftmodule/arm64-apple-ios.swiftmodule

joesus commented 4 years ago

This is a known issue. See similar issue with Alamofire - https://github.com/Alamofire/Alamofire/issues/3280.

Since Carthage will build from source when the binaries are incompatible this isn't necessarily a show-stopper but it is indeed inconvenient. Building the libraries using Xcode12 will also result in incompatibility.