From 5efd204f5cab86483feb552ef2f12105f28a8bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 5 Nov 2023 15:10:47 +0100 Subject: [PATCH] Concurrency checks --- Support/GRDBDeploymentTarget.xcconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Support/GRDBDeploymentTarget.xcconfig b/Support/GRDBDeploymentTarget.xcconfig index 753467b40..b216f2796 100644 --- a/Support/GRDBDeploymentTarget.xcconfig +++ b/Support/GRDBDeploymentTarget.xcconfig @@ -8,7 +8,6 @@ OTHER_SWIFT_FLAGS = $(inherited) -D SQLITE_ENABLE_FTS5 //GCC_PREPROCESSOR_DEFINITIONS = $(inherited) GRDB_SQLITE_ENABLE_PREUPDATE_HOOK=1 //OTHER_SWIFT_FLAGS = $(inherited) -D SQLITE_ENABLE_PREUPDATE_HOOK -// Enable concurrency warning in Swift 5.5 -// https://twitter.com/olebegemann/status/1421144304127463427?lang=en -// Those as commented out by default, until minimum support Xcode version can handle them. +// Enable concurrency checks // OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -warn-concurrency -Xfrontend -enable-actor-data-race-checks +// SWIFT_STRICT_CONCURRENCY = complete