Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fabric : /ios/Pods/Fabric/run”: No such file or directory

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' 
like image 636
saas Avatar asked May 29 '18 17:05

saas


4 Answers

The other answers are outdated (I don't have ability to edit or comment).

Use ${PODS_ROOT}/FirebaseCrashlytics/run in your build scripts instead

  1. From Xcode select Runner from the project navigation.
  2. Find existing Crashlytics script
  3. Modify script to point to FirebaseCrashlytics instead of Crashlytics

Change is needed since Firebase team renamed the plugin

like image 148
Amy Avatar answered Oct 23 '22 20:10

Amy


Using Flutter this came up again after the most recent update of Crashlytics.

Adding pod 'Fabric' to the Podfile fixed this.

like image 8
Alex Schneider Avatar answered Oct 23 '22 20:10

Alex Schneider


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.

like image 8
CantThinkOfAnything Avatar answered Oct 23 '22 22:10

CantThinkOfAnything


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?

like image 5
Michal Gorzalczany Avatar answered Oct 23 '22 22:10

Michal Gorzalczany