Closed ali-ozden closed 3 years ago
Please depend on individual pods such as "FBSDKCoreKit" instead of "FacebookSDK".
The FacebookSDK aggregate pod is really a special case since it uses prebuilt binaries from the Github release. Please let us know if this fixes it.
I tried to use FBSDKCoreKit instead of FacebookSDK with different version of Xcode and every time cocoapod failed with same result which is: Returned an unsuccessful exit code.
FacebookSDK v9.0.0 v9.1.0 v9.2.0, v9.3.0 allows to upgrade pod. Any version of FBSDKCoreKit does not. I try to figure out with pod [spec|lib] lint
and it does not give any details.
Was unable to reproduce. Try to run the pod [spec|lib] lint
command with --verbose --no-clean
so that you can get a better sense of the actual issue by building the target app in the workspace generated by the lint command.
I tried also command --verbose --no-clean
that doesn't evince about the issue. --skip-import-validation
command solved the problem.
Checklist before submitting a bug report
Xcode version
12.5.1
Swift version
No response
Installation platform & version
[Cocoapods|Carthage|Manual] version 1.10.1
Package
Core
Goals
I have a private cocoapod which has dependency with FacebookSDK. The goal is upgrade my own cocoapod without trouble when upgrade FacebookSDK version to 11.01
Expected results
With v9.1.0, v9.2.0 or v9.3.0 i didn't encounter any problem but v11.0.0 and v11.0.1
pod repo push
failed many timesActual results
error: failed to build module 'FBSDKCoreKit' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)'
error: could not find module 'FBSDKCoreKit' for target 'i386-apple-ios-simulator'; found: x86_64-apple-ios-simulator, arm64, x86_64, armv7-apple-ios, arm64-apple-ios, arm, armv7
Steps to reproduce
No response
Code samples & details