facebook-ios-sdk
facebook-ios-sdk copied to clipboard
swift version issues
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing GitHub issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
15.1
Facebook iOS SDK version
16.3.1
Dependency Manager
SPM
SDK Framework
Core
Goals
xcode does not run after upgrading to the latest version
Expected results
Swift Compiler Error (Xcode): Failed to build module 'FBAEMKit'; 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.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)'). Please select a toolchain which matches the SDK.
Actual results
Swift Compiler Error (Xcode): No type named 'DataPersisting' in module 'FBSDKCoreKit_Basics' /Users/doublefs/dfs-mobile/dfs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/FBAEMKit/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface:18:212
Swift Compiler Error (Xcode): Failed to build module 'FBAEMKit'; 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.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)'). Please select a toolchain which matches the SDK. /Users/doublefs/dfs-mobile/dfs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/FBAEMKit/FBAEMKit.framework/Modules/FBAEMKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface:0:0
Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code
Could not build the application for the simulator. Error launching application on iPhone 15 Pro.
Steps to reproduce
Xcode - develop for iOS and macOS (Xcode 15.1)
Code samples & details
- FBAEMKit (16.3.1):
- FBSDKCoreKit_Basics (= 16.3.1)
same issues
Same as here: https://github.com/facebook/facebook-ios-sdk/issues/2319