Symbolication
Upload dSYM files so Luciq can symbolicate your iOS crashes into readable stack traces. Covers required versus optional dSYMs and the POST API.
Last updated
gem install luciq-cli
luciq login
luciq upload ios-dsym MyApp-dSYMs.zip --slug my-app --mode production
#- -- SCRIPT BEGIN - --
# SKIP_SIMULATOR_BUILDS=1
# Check PROJECT_DIR first (CocoaPods, Carthage, Manual)
SCRIPT_SRC=$(find "$PROJECT_DIR" -name 'Luciq_dsym_upload.sh' | head -1)
# If not found, check SPM location
if [ -z "$SCRIPT_SRC" ]; then
SCRIPT_SRC=$(find "$BUILT_PRODUCTS_DIR" -name 'Luciq_dsym_upload.sh' | head -1)
fi
if [ -z "$SCRIPT_SRC" ]; then
echo "Luciq: err: script not found. Make sure the Luciq SDK is properly installed."
exit 1
fi
APP_TOKEN="YOUR-APP-TOKEN-HERE"
source "${SCRIPT_SRC}"
#- -- SCRIPT END - --sudo fastlane initsudo gem install fastlanegem 'fastlane-plugin-luciq_official', '~> 0.2.1'sudo gem install fastlane-plugin-luciq_officialluciq_official(api_token:<Luciq Token>, dsym_array_paths:<Array of dsyms paths>)
#-------Example Below-------
luciq_official(api_token: <Luciq-Token>, dsym_array_paths: ['/Users/admin/Desktop/dsyms/Alamofire.framework.dSYM', '/Users/admin/Desktop/dsyms/Luciq.framework.dSYM', '/Users/admin/Desktop/dsyms/SDWebImage.framework.dSYM'])sudo bundle exec fastlane upload_dsymsURL:
/api/sdk/v3/symbols_files
METHOD:
POST
PARAMS:
symbols_file
os (android, ios,,,)
application_token