using pod to install fabric but getting /ios/Pods/Fabric/run”: No such file or directory
,
i added run script in
“${PODS_ROOT}/Fabric/run” <API KEY> <S KEY>”
show environment variable in build log is checked ,
whats issue not able to get ,
here is pod version
pod 'Fabric', '~> 1.7.6'
pod 'Crashlytics', '~> 3.10.1'
The other answers are outdated (I don't have ability to edit or comment).
Use ${PODS_ROOT}/FirebaseCrashlytics/run
in your build scripts instead
FirebaseCrashlytics
instead of Crashlytics
Change is needed since Firebase team renamed the plugin
Using Flutter this came up again after the most recent update of Crashlytics.
Adding pod 'Fabric'
to the Podfile fixed this.
I stumbled upon this issue after upgrading to the new Crashlytics SDK as of recent. The issue for the main post and my issue is probably different but I thought I'd just put it here anyways in case someone else stumbled upon it.
After updating my pods to use the newest SDK which will replace the old one starting November 15th 2020, I kept getting this error and I realised that its because the path to Fabric/run was still set in the Build Phases run script.
So beware that the info on the google page is not enough to upgrade your sdk https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=ios
You should actually perform all the steps that are explained in the getting started guide instead. https://firebase.google.com/docs/crashlytics/get-started?platform=ios
Step 3 is about changing the build phases within Xcode to properly use the new sdk version.
Please check if you are using correct quotation marks. You can copy code from below and just replece abc123 with correct values.
"${PODS_ROOT}/Fabric/run" abc123 abc123
I assume you have run the command pod install
, don't you?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With