> Detecting the CPU architecture

Just searched for this topic. And it seems to be a little more complicated when 
Rosetta is involved. For example, [this 
person](https://developer.apple.com/forums/thread/659846) said `uname -m` will 
return `x86_64` when Rosetta is used, even on an `arm64` computer. The answer 
at the same page suggested that, in such a case, one should instead detect if 
the process is a "translated" one. The answer 
[here](https://forums.developer.apple.com/forums/thread/652667) suggested the 
same.

Reply via email to