To ensure that the latest dSYM files are automatically uploaded after every build process, add a new Run Script Phase: Xcode → Scheme → EditScheme → expand the Build Action options → Post Actions → +
To upload dsyms files using RunScript, you need to add two pieces of information in the script:
The path to the upload-symbols.sh.
API key.
This way, you upload dSYM files to Shake servers, enabling your crash events to be deobfuscated.
The path to upload-symbols.sh should look something like:
/Users/user/Library/Developer/Xcode/DerivedData/your-project/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Shake/Shake.framework/upload-symbols.sh
You can find the API key on your Dashboard under app settings Workspace Administration → Apps.