-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit #2169
Comments
have same |
Was able to resolve it by running Complete command: function pod-nuke(){
pod cache clean --all
rm -rf "$HOME/Library/Caches/CocoaPods"
rm -rf "$HOME/Library/Developer/Xcode/DerivedData/*"
rm -rf Pods
arch -x86_64 pod update
} |
Apparently this line was added to my # ruby
if [ -d "/opt/homebrew/opt/ruby/bin" ]; then
export PATH=/opt/homebrew/opt/ruby/bin:$PATH
export PATH=`gem environment gemdir`/bin:$PATH
fi |
We have the same issue and the macbook we're using has an Intel chip and is from 2015 |
On flutter works only Apple M1 |
Checklist before submitting a bug report
Xcode version
14.2
Facebook iOS SDK version
15.1.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
Build my app
Expected results
My app builds
Actual results
I am running into an issue with FBSDKCoreKit where on some environments I get the error
Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
unless I add it toFrameworks, Libraries, and Embedded Content
But while that resolves the issue on problematic environments, it creates an issue on all other environments
Error (Xcode): Multiple commands produce '/Users/admin/Library/Developer/Xcode/DerivedData/Runner-adwcstkmsmzcjgdzgisfheqwwytp/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/Foo.framework'
So now we have this 'seesaw' problem where fixing the issue on one environment causes all other environments to break.
I have created a Stack Overflow question, as well as an issue for the downstream consumer of Facebook SDKs
https://stackoverflow.com/questions/75340247/library-not-loaded-x-multiple-commands-produce-x-but-only-on-some-environment
darwin-morocho/flutter-facebook-auth#326
Steps to reproduce
The reproduction and environment specifications is available in a Flutter project (uses cocoapods) shown here https://github.com/lukepighetti/ffa_repro
Code samples & details
The text was updated successfully, but these errors were encountered: