Readable release crashes
Release builds are shrunk or stripped, so their crashes show a.b.c() or addresses instead of your code's names. Upload each release's mapping or symbols and BeeAppie shows your classes, functions and lines again, and groups crashes across versions (.NET, Flutter and Unity crashes show your names without them; .NET uploads add line numbers). Uploads come with paid plans and need the app's upload key (bu_…, from Crash reports › Readable crashes): on your own computer, a line com.shop.app = bu_… in ~/.beeappie/upload-keys, which every BeeAppie build tool reads (Xcode opened from the Dock too); on CI, BEEAPPIE_UPLOAD_KEY in the build's environment. Never the project, where it would end up in git. It can only upload that app's files. Only names and positions are sent, never your code; a missing key or a failed upload only warns, unless you ask the build to fail.
Set it up
// Nothing to add: after every Release build of the app, the
// BeeAppie packages upload your own .dll and .pdb files, so
// crashes show each frame's file and line. Only what changed
// is sent; what couldn't be sent goes with the next build.
// Libraries of your own from NuGet:
<BeeAppieSymbolAssemblies>Shop.Core;Shop.Data</BeeAppieSymbolAssemblies>
// iOS Release uses LLVM, which drops line numbers; for them:
<MtouchUseLlvm>false</MtouchUseLlvm>
// Android and iOS Release builds shorten .NET's own messages to
// keys (Format_InvalidStringWithValue, two); for the text:
<UseSystemResourceKeys>false</UseSystemResourceKeys>
// iOS and Mac native crashes and hangs: upload the dSYM with
// BEEAPPIE_UPLOAD_KEY=bu_… beeappie-upload-symbols MyApp.app.dSYM
// (the script is under SDK downloads, with the iOS SDK's files)
// settings.gradle.kts, in pluginManagement › repositories:
maven("https://maven.beeappie.com") { content { includeGroup("com.beeappie") } }
// app/build.gradle.kts
plugins {
id("com.android.application")
id("com.beeappie") version "1.0.0"
}
// Every minified build uploads its mapping.txt, and the function
// names of native .so libraries. To fail store builds instead:
beeappie { failOnUploadError = true }
// Xcode › app target › Build Phases › + › New Run Script Phase,
// after "Embed Frameworks":
"${BUILD_DIR%/Build/*}/SourcePackages/checkouts/beeappie-ios/scripts/beeappie-upload-symbols"
// With User Script Sandboxing on, add to the phase's input files:
// ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}
// $(HOME)/.beeappie/upload-keys
// dSYMs from App Store Connect: run the script by hand on them.
// Native crashes: the Android and iOS steps, in android/ and ios/.
// Dart errors come with their Dart stack. Built with
// --obfuscate, Dart names stay hidden: leave it off to read them.
// Android: android/app/build.gradle, after the React Native plugin
apply from: "../../node_modules/@beeappie/react-native/android/beeappie-sourcemaps.gradle"
// iOS: in "Bundle React Native code and images", keep the map
// and upload it after the bundle is built:
export SOURCEMAP_FILE="$DERIVED_FILE_DIR/main.jsbundle.map"
/bin/sh -c "\"$WITH_ENVIRONMENT\" \"$REACT_NATIVE_XCODE\""
/bin/sh -c "\"$WITH_ENVIRONMENT\" \"$PROJECT_DIR/../node_modules/@beeappie/react-native/scripts/beeappie-upload-sourcemap-xcode\""
// Over-the-air updates or a custom bundle:
// npx beeappie-upload-sourcemap --bundle <bundle> --sourcemap <map>
// Nothing to upload: C# exceptions arrive with their stack,
// as Unity reports it.
Check it worked
Ready when you are
BeeAppie opens to new apps soon. Leave your email and we will tell you when you can sign up.
Join the waitlist SDKs and downloads