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 three pieces of information in the script:
The path to the upload-symbols.sh.
Client ID.
Client Secret.
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 Client ID and Client Secret on your Dashboard under Workspace Administration.