ld hello.o -o hello -l System -syslibroot 'xcrun -sdk macosx --show-sdk-path' -e _main -arch arm64
try change 'xcrun -sdk macosx --show-sdk-path' to `xcrun -sdk macosx --show-sdk-path`
use ` `
not ' '