From 873a19cf35834d25c5c6202cea0b3c7b12d4ced1 Mon Sep 17 00:00:00 2001 From: Javier Su Date: Fri, 20 Nov 2020 14:44:54 +0800 Subject: [PATCH] Added fixes for xcode 12.2 --- Xendit.xcodeproj/project.pbxproj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Xendit.xcodeproj/project.pbxproj b/Xendit.xcodeproj/project.pbxproj index b514ab6..2b3d64c 100755 --- a/Xendit.xcodeproj/project.pbxproj +++ b/Xendit.xcodeproj/project.pbxproj @@ -701,7 +701,7 @@ BITCODE_GENERATION_MODE = bitcode; BUILD_LIBRARY_FOR_DISTRIBUTION = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.0; - ONLY_ACTIVE_ARCH = NO; + ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.1; }; @@ -712,8 +712,9 @@ buildSettings = { BITCODE_GENERATION_MODE = bitcode; BUILD_LIBRARY_FOR_DISTRIBUTION = YES; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; IPHONEOS_DEPLOYMENT_TARGET = 11.0; - ONLY_ACTIVE_ARCH = NO; + ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; "SWIFT_OPTIMIZATION_LEVEL[arch=*]" = "-O"; SWIFT_VERSION = 5.1;