Skip to content

Commit 0a7e7d1

Browse files
committed
Makefile: support for Xcode 13.4
1 parent 1260980 commit 0a7e7d1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,16 @@ TEST_ACTIONS = clean build build-for-testing test-without-building
5050

5151
# When adding support for an Xcode version, look for available devices with
5252
# `xcrun xctrace list devices` (or the deprecated `instruments -s devices`).
53-
ifeq ($(XCODEVERSION),13.3)
53+
ifeq ($(XCODEVERSION),13.4)
54+
MAX_SWIFT_VERSION = 5.6
55+
MIN_SWIFT_VERSION = 5.3
56+
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 13,OS=15.5"
57+
MIN_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 8,OS=13.7"
58+
MAX_TVOS_DESTINATION = "platform=tvOS Simulator,name=Apple TV,OS=15.4"
59+
#MIN_TVOS_DESTINATION = "platform=tvOS Simulator,name=Apple TV,OS=11.4" TODO: restore
60+
OTHER_SWIFT_FLAGS = '$$(inherited) -D SQLITE_ENABLE_FTS5 -D SQLITE_ENABLE_PREUPDATE_HOOK -Xfrontend -warn-concurrency -Xfrontend -enable-actor-data-race-checks'
61+
GCC_PREPROCESSOR_DEFINITIONS = '$$(inherited) GRDB_SQLITE_ENABLE_PREUPDATE_HOOK=1'
62+
else ifeq ($(XCODEVERSION),13.3)
5463
MAX_SWIFT_VERSION = 5.6
5564
MIN_SWIFT_VERSION = 5.3
5665
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 13,OS=15.4"

0 commit comments

Comments
 (0)