These packages are available as a package collection, usable in Xcode or SwiftPM.
Swift Library to detect the current CPU Architecture for the current machine/process (inculing detecting if the current process is running using Rosetta) and additional system info.
1 package.