I just downloaded Crashlytics through Cocoapods yesterday, I Started integrating it to my project following some videos in the internet. I liked the way of integration without fabric pod (the new way) so I did that successfully.
Everything is working fine except for uploading DSYM files. I tried the following code:
"${PODS_ROOT}/FirebaseCrashlytics/run"
"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp
"${PROJECT_DIR}/GoogleService-Info.plist" -p ios
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
But that give me an error while compiling :
Running upload-symbols in Build Phase mode
Validating build environment for Crashlytics...
Validation succeeded. Exiting because upload-symbols was run in validation mode
[31merror: Could not get path for GoogleService-Info.plist[0m
/Users/ahmedal-mashhoor/Library/Developer/Xcode/DerivedData/MAGICWORLD-bksejwnexokchwftspvscdgsjjek/Build/Intermediates.noindex/MAGICWORLD.build/Debug-iphoneos/MAGICWORLD.build/Script-78DFB3242419196A006596CC.sh: line 4: /Users/ahmedal-mashhoor/Desktop/MagicWordiOS/GoogleService-Info.plist: Permission denied
/Users/ahmedal-mashhoor/Library/Developer/Xcode/DerivedData/MAGICWORLD-bksejwnexokchwftspvscdgsjjek/Build/Intermediates.noindex/MAGICWORLD.build/Debug-iphoneos/MAGICWORLD.build/Script-78DFB3242419196A006596CC.sh: line 5: /Users/ahmedal-mashhoor/Library/Developer/Xcode/DerivedData/MAGICWORLD-bksejwnexokchwftspvscdgsjjek/Build/Products/Debug-iphoneos/MAGICWORLD.app.dSYM: is a directory
Command PhaseScriptExecution failed with a nonzero exit code
What am I doing wrong here?, help please.
In January 2017, Crashlytics and Fabric were acquired by Google. In September 2018, Google announces that Fabric will be deprecated and developers should use Crashlytics via Firebase.
Old versions of your app still using the Fabric Crashlytics SDK will not break once it's deprecated, however they will no longer submit crash reports. But it seems like it will just continue to work as per normal after this date until further notice. Just leave it the way it is.
Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them. Find out if a particular crash is impacting a lot of users. Get alerts when an issue suddenly increases in severity.
With Crashlytics Enterprise, there are no usage costs, fees, or limits when it comes to your app's performance monitoring.
I found the right code:
"${PODS_ROOT}/FirebaseCrashlytics/run"
"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "${PROJECT_DIR}/GoogleService-Info.plist" -p iOS "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
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