Reputation: 325
I tried setting up Firebase Crashlytics to my React Native project. I received the following error when I was building the project after I added the build phase script.
Script I added from the firebase guide (can be found here) :
Error:
MY-APP-ABC/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run: No such file or directory
When I look in the folder of MY-APP-ABC, I don't see the SourcePackages folder anywhere.
Upvotes: 7
Views: 2667
Reputation: 767
In my case it was the custom path for DerivedData that I set for the project. Reverting back to the Xcode default location solved this error.
Upvotes: 0
Reputation: 1198
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"
Upvotes: 17