facebook-ios-sdk icon indicating copy to clipboard operation
facebook-ios-sdk copied to clipboard

swift version issues

Open YTCCC opened this issue 1 year ago • 2 comments

Checklist before submitting a bug report

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)

YTCCC avatar Dec 19 '23 06:12 YTCCC

same issues

demoker avatar Jan 12 '24 07:01 demoker

Same as here: https://github.com/facebook/facebook-ios-sdk/issues/2319

gpernelle avatar Jan 29 '24 20:01 gpernelle