mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-22 04:00:39 +00:00
We can not use `#if Trait` because Xcode does not enable those compiler flags. Always count on Apple for delivering the best quality software. So now we import the default SPM SQLite last, after all other cases have been excluded. The GRDB framework (GRDB.xcodeproj and GRDB via CocoaPods) is distinct from the default SPM trait, so we detect it with GRDBFRAMEWORK.
7 lines
288 B
Plaintext
7 lines
288 B
Plaintext
#include "GRDBDeploymentTarget.xcconfig"
|
|
|
|
// Tests still use the Swift 5 language mode.
|
|
SWIFT_UPCOMING_FEATURE_INFER_SENDABLE_FROM_CAPTURES = YES
|
|
OTHER_SWIFT_FLAGS = $(inherited) -D GRDBFRAMEWORK
|
|
OTHER_SWIFT_FLAGS = $(inherited) -enable-upcoming-feature GlobalActorIsolatedTypesUsability
|