We are trying to run an iOS Build with Unity Cloud Diagnostics enabled but the build is failing on the **process_symbols.sh** step. From reviewing the log it looks like a segmentation fault is being triggered by usymtool and seems to only be happening on a newer mac that uses the M1 processor. Is anyone else running into this or know of a work around aside from disabling Cloud Diagnostics?
Here is the output from the log:
"$PROJECT_DIR/usymtool" -symbolPath "$DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME"
Command PhaseScriptExecution failed with a nonzero exit code```
I’ve filed a bug report, it’s not yet fixed in any version I’ve tried so far. The only solution would be to turn off cloud diagnostics which is not an option for a live project.
It happen to our project too.
And it only happen when using Unity batchmode to build iOS project.
It won’t happen if build with Unity editor(i.e. Build Setting → Build)