Closed aornano closed 3 years ago
Good catch, the issue is likely that the releases for Carthage are built using Xcode 11.4. If you'd like to update the Circle-CI configuration to use a later Xcode version I will gladly review the PR.
In the meantime if all you require is prebuilt frameworks, might I recommend using the XCFrameworks attached to the latest release. They do not require stripping any architectures. Thanks!
Closing since @joesus updated to Xcode 12.4 in f9dd20ea6480f8e2b6acec01372fadf1cdabbc31.
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
12.4.X
5.3.2
(if issue is Swift related)Carthage|
version0.37.0
Goals
What do you want to achieve?
Compiling facebook-ios-sdk latest release using carthage as explained to this repo.
Expected Results
What do you expect to happen?
Building successfully facebook-ios-sdk 9.0.0
Actual Results
What actually happened? Can you provide a stack trace?
ERROR:
Skipped installing facebook-ios-sdk.framework binary due to the error: "Incompatible Swift version - framework was built with 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) and the local version is 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28).
Steps to Reproduce
What are the steps necessary to reproduce this issue?
Due to famous Carthage problem with Xcode 12.x releases, I've prepared this script:
wcarthage.sh
So, on terminal I've launched the follow commands: