I have used DTK + xCode12 to develop an application, and the build setting uses Standard architectures.
I use "lipo -archs" command to check the information and I confirm that the application is already x86_64 arm64.
My question is, can this information be obtained by the Cocoa API?
I use "lipo -archs" command to check the information and I confirm that the application is already x86_64 arm64.
My question is, can this information be obtained by the Cocoa API?
Yes. The highest-level API I can think of here is the executableArchitectures property on Bundle. However, depending on your specific requirements there’s a whole world of lower-level APIs available to you.can this information be obtained by the Cocoa API?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"