Why is the Mac build script not generating dSYM on one machine but working on another?

The issue could be related to differences in the environment or configurations between the two machines. For example:

Different versions of Xcode or macOS.

Variations in build settings (e.g., Debug/Release configurations).

Missing or incorrect environment variables.

The script might have specific dependencies that are only present on one machine.

Checking the build logs and comparing the setup on both machines might help identify the specific cause.