Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FirebaseCrashlytics/run: No such file or directory error while building the app - swift

I am integrating the Firebase Analytics and the Crashlytics in my app. After Initializing the Crashlytics, I am getting the following error while building the app.

mediates.noindex/AppName.build/Release-iphoneos/AppName.build/Script-CEF6C7C8235DEDE800229776.sh: line 3: /Users/apple/Documents/AppFolder/AppName/Folder/Pods/FirebaseCrashlytics/run: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code

The following is my transcript configuration I have imported the crashlytics pod and analytics pod. How to fix this issue. Any help is really appreciated.

enter image description here

like image 419
Varun P V Avatar asked Sep 02 '20 11:09

Varun P V


People also ask

How do I upload dSYM files to Crashlytics?

To manually upload your dSYMs, you can use the console-based "Drag and Drop" option to upload a zip archive containing your dSYM files (go to Firebase console > Crashlytics > dSYMs tab).


1 Answers

If you installed firebase using cocoa pods use:

"${PODS_ROOT}/FirebaseCrashlytics/run"

If you installed firebase using Swift Package Manager use:

"${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run"
like image 102
Philip Mintah Avatar answered Sep 19 '22 12:09

Philip Mintah