Setting the Architecture under Build Settings to arm64 works well:
To get valid architectures, in your project folder, run:
xcodebuild -project <Your project name>.xcodeproj -scheme "Your Project Scheme" -showBuildSettings | grep ARCHS
For my project, it prints:
ARCHS = arm64 x86_64
ARCHS_STANDARD = arm64 x86_64
ARCHS_STANDARD_32_64_BIT = arm64 x86_64 i386
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = arm64 x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = arm64 x86_64
VALID_ARCHS = arm64 arm64e i386 x86_64
This is where I got arm64 as the value.
Topic:
App & System Services
SubTopic:
Core OS
Tags: