Associating dSYM upload with version?


I’m using Crashpad with my C++ application using several dylibs and a main application with a set of dSYM symbol files (one per dylib and one for the app itself).

It looks like sentry can’t get the version information from the dSYM files and I guess that’s why symbolication doesn’t work properly. It shows me crashes that look like they have been processed with wrong symbol files.

Is there an easy way to associate the dSYM files with a version?
Or if that doesn’t work easily, how can I reset the symbol files and upload new ones?

This is the command I’m using to upload the symbol files.

sentry-cli --auth-token upload-dif --org --project -t dsym .

Thanks in advance!