From c962f691269b3bd71ff69382cda7d9d684680a6b Mon Sep 17 00:00:00 2001 From: Aaron Kollasch Date: Tue, 2 Nov 2021 01:30:06 -0400 Subject: [PATCH] Fix prefpane crash due to arch on M1 System Preferences is arm64e; arm64 binaries will crash it. --- prefpane/Jitouch.xcodeproj/project.pbxproj | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/prefpane/Jitouch.xcodeproj/project.pbxproj b/prefpane/Jitouch.xcodeproj/project.pbxproj index 3a795ed..836e32f 100644 --- a/prefpane/Jitouch.xcodeproj/project.pbxproj +++ b/prefpane/Jitouch.xcodeproj/project.pbxproj @@ -329,6 +329,10 @@ 1DBD214908BA80EA00186707 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = ( + "$(ARCHS_STANDARD)", + arm64e, + ); CLANG_ENABLE_OBJC_WEAK = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; @@ -348,6 +352,7 @@ "$(PROJECT_DIR)", ); MARKETING_VERSION = 2.75; + ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = "com.jitouch.${PRODUCT_NAME:identifier}"; PRODUCT_NAME = Jitouch; STRIP_INSTALLED_PRODUCT = YES; @@ -362,6 +367,10 @@ 1DBD214A08BA80EA00186707 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ARCHS = ( + "$(ARCHS_STANDARD)", + arm64e, + ); CLANG_ENABLE_OBJC_WEAK = YES; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 2.75;