I am developing one Cross-platform app with flutter support. I Integrated firebase Crashlytics for crash reports. before I need to check report one error message comes
<
When preparing my app for release I take these steps to export, upload, and get the dSYM's:
After building an Archive of your Flutter app (using Xcode), you can run the following command from your Flutter App's ios
directory (using Firebase's upload tool):
Pods/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios build/Runner.xcarchive/dSYMs
Change the above command line to point to the correct Firebase plist file. the -p
flag specifies platform (which can be ios
, mac
, or tvos
). The above command will also look for the App's archive file Runner.xcarchive
.
you can use Fastlane
to automate also this as part of release process.
here's an example that can go into your Fastfile
platform :ios do
desc "Upload symbols to Crashlytics"
lane :toCrashlytics do
upload_symbols_to_crashlytics
end
end
then you can run fastlane ios toCrashlytics
to run it.
see this link for more details.