CMake 3.30 doesn't let me use $(ARCHS_STANDARD) to set CMAKE_OSX_ARCHITECTURES

ARCHS_STANDARD is not defined as an environment variable (?)

Or did you mean manually defining an env variable ARCHS_STANDARD and assigning it " "x86_64;arm64"?

I thought about running xcodebuild -showBuildSettings | grep ARCHS_STANDARD from within Cmake, but this requires an existing Xcode project.