Skip to content

Commit

Permalink
Fix the Carthage build
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Dec 10, 2020
1 parent bbff344 commit 580bb80
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Configuration/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
TVOS_DEPLOYMENT_TARGET = 9.0;

// Disable building the arm64 simulators when using Carthage as it doesn't support them yet
REALM_ARM_ARCHS_YES = arm64 arm64e;
REALM_ARM_ARCHS = $(REALM_ARM_ARCHS_$(CARTHAGE))

EXCLUDED_ARCHS[sdk=watchsimulator*] = $(REALM_ARM_ARCHS);
EXCLUDED_ARCHS[sdk=iphonesimulator*] = $(REALM_ARM_ARCHS);
EXCLUDED_ARCHS[sdk=appletvsimulator*] = $(REALM_ARM_ARCHS);

SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1,2,3,4;
SDKROOT = $(REALM_SDKROOT);

0 comments on commit 580bb80

Please sign in to comment.