Does Xcode 6 Simulator use x86_64?

2019-07-23 09:06发布

问题:

Sorry to have to ask this. This relates to Undefined symbols for architecture x86_64 when building for ARM64, but I only have Xcode 4 and 5 for testing.

Does Xcode 6 use x86_64 for the iOS simulator?


This seems to be related: Xcode 6 iOS Simulator (iPad2, iPhone5) now Release Mode now running x86_64. Debug i386. But I can't quite make out the finer points the person asking the question is making.

回答1:

It depends. It uses x86_64 when building for a 64-bit simulated device. It uses i386 when building for a 32-bit simulated device.