mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Makefile: support for Xcode 12.4 and Big Sur
Bump min iOS and tvOS versions to 11.4 because Big Sur does not support older simulators: $ xcrun simctl list runtimes iOS 10.3 (10.3.1 - 14E8301) - com.apple.CoreSimulator.SimRuntime.iOS-10-3 (unavailable, The iOS 10.3 simulator runtime is not supported on hosts after macOS 10.15.99.) tvOS 10.2 (10.2 - 14W260) - com.apple.CoreSimulator.SimRuntime.tvOS-10-2 (unavailable, The tvOS 10.2 simulator runtime is not supported on hosts after macOS 10.15.99.)
This commit is contained in:
1 parent
40389ee102
commit
d3df3ed5ec
1 file changed
+8
-1
@@ -50,7 +50,14 @@ TEST_ACTIONS = clean build build-for-testing test-without-building
|
||||
|
||||
# When adding support for an Xcode version, look for available devices with
|
||||
# `xcrun xctrace list devices` (or the deprecated `instruments -s devices`).
|
||||
ifeq ($(XCODEVERSION),12.3)
|
||||
ifeq ($(XCODEVERSION),12.4)
|
||||
MAX_SWIFT_VERSION = 5.3
|
||||
MIN_SWIFT_VERSION = 5.2
|
||||
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 12,OS=14.4"
|
||||
MIN_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 5s,OS=11.4"
|
||||
MAX_TVOS_DESTINATION = "platform=tvOS Simulator,name=Apple TV 4K,OS=14.3"
|
||||
MIN_TVOS_DESTINATION = "platform=tvOS Simulator,name=Apple TV,OS=11.4"
|
||||
else ifeq ($(XCODEVERSION),12.3)
|
||||
MAX_SWIFT_VERSION = 5.3
|
||||
MIN_SWIFT_VERSION = 5.2
|
||||
MAX_IOS_DESTINATION = "platform=iOS Simulator,name=iPhone 12,OS=14.3"
|
||||
|
||||
Reference in new issue
Block a user