mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
⚠️ Enable SE-0418
TODO: Check if this works with Xcode 15.4?
This commit is contained in:
1 parent
f175e3f384
commit
cd73fdc7c3
9 files changed
+31
-16
No files matched your search
@@ -815,7 +815,7 @@
|
||||
56BF2281241781C5003D86EB /* UtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UtilsTests.swift; sourceTree = "<group>"; };
|
||||
56C3F7521CF9F12400F6A361 /* DatabaseSavepointTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseSavepointTests.swift; sourceTree = "<group>"; };
|
||||
56C48E731C9A9923005DF1D9 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
|
||||
56C494401ED7255500CC72AF /* GRDBDeploymentTarget.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = GRDBDeploymentTarget.xcconfig; sourceTree = "<group>"; };
|
||||
56C494401ED7255500CC72AF /* GRDBBase.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = GRDBBase.xcconfig; sourceTree = "<group>"; };
|
||||
56CB43A02BD9880D001C8ED9 /* PersistenceContainer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersistenceContainer.swift; sourceTree = "<group>"; };
|
||||
56CC922B201DFFB900CB597E /* DropWhileCursorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DropWhileCursorTests.swift; sourceTree = "<group>"; };
|
||||
56CC9242201E034D00CB597E /* PrefixWhileCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrefixWhileCursorTests.swift; sourceTree = "<group>"; };
|
||||
@@ -862,6 +862,7 @@
|
||||
56F0B98E1B6001C600A2F135 /* FoundationNSDateTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FoundationNSDateTests.swift; sourceTree = "<group>"; };
|
||||
56F34FB924B094B6007513FC /* SQLExpressionIsConstantTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SQLExpressionIsConstantTests.swift; sourceTree = "<group>"; };
|
||||
56F34FC124B0A0B7007513FC /* SQLIdentifyingColumnsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SQLIdentifyingColumnsTests.swift; sourceTree = "<group>"; };
|
||||
56F3B70A2C1DB120001A6C5B /* GRDBTests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = GRDBTests.xcconfig; sourceTree = "<group>"; };
|
||||
56F3E7481E66F83A00BF0F01 /* ResultCodeTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResultCodeTests.swift; sourceTree = "<group>"; };
|
||||
56F61DD0283D344D00AF9884 /* GRDBTests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "GRDBTests-Bridging-Header.h"; path = "GRDBTests/GRDBTests-Bridging-Header.h"; sourceTree = "<group>"; };
|
||||
56F61DD3283D344E00AF9884 /* getThreadsCount.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = getThreadsCount.h; sourceTree = "<group>"; };
|
||||
@@ -1864,7 +1865,8 @@
|
||||
56C48E731C9A9923005DF1D9 /* module.modulemap */,
|
||||
DC3773F719C8CBB3004FCF85 /* Info.plist */,
|
||||
56B8F49A1B4E2F3600C24296 /* GRDB.xcconfig */,
|
||||
56C494401ED7255500CC72AF /* GRDBDeploymentTarget.xcconfig */,
|
||||
56C494401ED7255500CC72AF /* GRDBBase.xcconfig */,
|
||||
56F3B70A2C1DB120001A6C5B /* GRDBTests.xcconfig */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
path = ../Support;
|
||||
@@ -2452,7 +2454,7 @@
|
||||
/* Begin XCBuildConfiguration section */
|
||||
56E5D8021B4D422E00430942 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 56C494401ED7255500CC72AF /* GRDBDeploymentTarget.xcconfig */;
|
||||
baseConfigurationReference = 56F3B70A2C1DB120001A6C5B /* GRDBTests.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
@@ -2482,7 +2484,7 @@
|
||||
};
|
||||
56E5D8031B4D422E00430942 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 56C494401ED7255500CC72AF /* GRDBDeploymentTarget.xcconfig */;
|
||||
baseConfigurationReference = 56F3B70A2C1DB120001A6C5B /* GRDBTests.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
|
||||
@@ -833,7 +833,7 @@
|
||||
56C0538E22ACEECD0029D27D /* Map.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Map.swift; sourceTree = "<group>"; };
|
||||
56C0538F22ACEECD0029D27D /* RemoveDuplicates.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RemoveDuplicates.swift; sourceTree = "<group>"; };
|
||||
56C3F7521CF9F12400F6A361 /* DatabaseSavepointTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatabaseSavepointTests.swift; sourceTree = "<group>"; };
|
||||
56C494421ED726C500CC72AF /* GRDBDeploymentTarget.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = GRDBDeploymentTarget.xcconfig; path = SQLiteCustom/GRDBDeploymentTarget.xcconfig; sourceTree = "<group>"; };
|
||||
56C494421ED726C500CC72AF /* GRDBBase.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = GRDBBase.xcconfig; path = SQLiteCustom/GRDBBase.xcconfig; sourceTree = "<group>"; };
|
||||
56C9EB9A2495324700FE5D55 /* grdb_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = grdb_config.h; path = SQLiteCustom/grdb_config.h; sourceTree = "<group>"; };
|
||||
56CB43A22BD9884A001C8ED9 /* PersistenceContainer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PersistenceContainer.swift; sourceTree = "<group>"; };
|
||||
56CC9231201DFFF600CB597E /* DropWhileCursorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DropWhileCursorTests.swift; sourceTree = "<group>"; };
|
||||
@@ -904,7 +904,7 @@
|
||||
F3BA805A1CFB2BB2003DC1BA /* GRDB.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GRDB.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
F3BA809B1CFB2F6F003DC1BA /* GRDBCustomTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GRDBCustomTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
F3BA813A1CFB3402003DC1BA /* GRDBCustomSQLite-USER.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "GRDBCustomSQLite-USER.xcconfig"; path = "SQLiteCustom/GRDBCustomSQLite-USER.xcconfig"; sourceTree = "<group>"; };
|
||||
F3BA813B1CFB3770003DC1BA /* GRDBCustomSQLite-Testing.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "GRDBCustomSQLite-Testing.xcconfig"; path = "SQLiteCustom/GRDBCustomSQLite-Testing.xcconfig"; sourceTree = "<group>"; };
|
||||
F3BA813B1CFB3770003DC1BA /* GRDBTests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = GRDBTests.xcconfig; path = SQLiteCustom/GRDBTests.xcconfig; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -1890,8 +1890,8 @@
|
||||
F3BA7FF01CFB23C9003DC1BA /* sqlite3.h */,
|
||||
F3BA7FEF1CFB23BF003DC1BA /* module.modulemap */,
|
||||
F3BA7FEE1CFB23B7003DC1BA /* GRDB.xcconfig */,
|
||||
F3BA813B1CFB3770003DC1BA /* GRDBCustomSQLite-Testing.xcconfig */,
|
||||
56C494421ED726C500CC72AF /* GRDBDeploymentTarget.xcconfig */,
|
||||
56C494421ED726C500CC72AF /* GRDBBase.xcconfig */,
|
||||
F3BA813B1CFB3770003DC1BA /* GRDBTests.xcconfig */,
|
||||
F3BA7FF31CFB23E4003DC1BA /* SQLiteLib.xcodeproj */,
|
||||
EED476F41CFD174D0026A4EC /* Customize */,
|
||||
);
|
||||
@@ -2707,7 +2707,7 @@
|
||||
};
|
||||
F3BA80A41CFB2F6F003DC1BA /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F3BA813B1CFB3770003DC1BA /* GRDBCustomSQLite-Testing.xcconfig */;
|
||||
baseConfigurationReference = F3BA813B1CFB3770003DC1BA /* GRDBTests.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
@@ -2738,7 +2738,7 @@
|
||||
};
|
||||
F3BA80A51CFB2F6F003DC1BA /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F3BA813B1CFB3770003DC1BA /* GRDBCustomSQLite-Testing.xcconfig */;
|
||||
baseConfigurationReference = F3BA813B1CFB3770003DC1BA /* GRDBTests.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
|
||||
+4
-1
@@ -79,7 +79,10 @@ let package = Package(
|
||||
.copy("GRDBTests/Issue1383.sqlite"),
|
||||
],
|
||||
cSettings: cSettings,
|
||||
swiftSettings: swiftSettings)
|
||||
swiftSettings: swiftSettings + [
|
||||
// TODO: move to base settings once https://github.com/apple/swift/issues/73313 is fixed.
|
||||
.enableUpcomingFeature("InferSendableFromCaptures"),
|
||||
])
|
||||
],
|
||||
swiftLanguageVersions: [.v5]
|
||||
)
|
||||
@@ -1,6 +1,6 @@
|
||||
CUSTOM_OTHER_SWIFT_FLAGS= // do not modify
|
||||
|
||||
#include "GRDBDeploymentTarget.xcconfig"
|
||||
#include "GRDBBase.xcconfig"
|
||||
// Build once to generate this file:
|
||||
#include "GRDBCustomSQLite-USER.xcconfig"
|
||||
#include "src/SQLiteLib-USER.xcconfig"
|
||||
|
||||
@@ -3,3 +3,5 @@ MACOSX_DEPLOYMENT_TARGET = 10.13
|
||||
TVOS_DEPLOYMENT_TARGET = 12.0
|
||||
WATCHOS_DEPLOYMENT_TARGET = 7.0
|
||||
XROS_DEPLOYMENT_TARGET = 1.0
|
||||
|
||||
SWIFT_STRICT_CONCURRENCY = complete
|
||||
@@ -3,10 +3,13 @@
|
||||
|
||||
CUSTOM_OTHER_SWIFT_FLAGS= // do not modify
|
||||
|
||||
#include "GRDBDeploymentTarget.xcconfig"
|
||||
#include "GRDBBase.xcconfig"
|
||||
// Build once to generate this file:
|
||||
#include "GRDBCustomSQLite-USER.xcconfig"
|
||||
#include "src/SQLiteLib-USER.xcconfig"
|
||||
|
||||
OTHER_CFLAGS = -DUSING_BUILTIN_SQLITE -DGRDBCUSTOMSQLITE $(CUSTOM_SQLLIBRARY_CFLAGS) // Do not modify.
|
||||
OTHER_SWIFT_FLAGS = -D USING_BUILTIN_SQLITE -D GRDBCUSTOMSQLITE $(CUSTOM_OTHER_SWIFT_FLAGS) // Do not modify.
|
||||
|
||||
// TODO: move to GRDBBase.xcconfig once https://github.com/apple/swift/issues/73313 is fixed.
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -enable-upcoming-feature InferSendableFromCaptures
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "GRDBDeploymentTarget.xcconfig"
|
||||
#include "GRDBBase.xcconfig"
|
||||
|
||||
INFOPLIST_FILE = Support/Info.plist
|
||||
PRODUCT_NAME = GRDB
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.github.groue.$(PRODUCT_NAME:rfc1034identifier)
|
||||
@@ -6,5 +7,3 @@ MODULEMAP_FILE = $(SRCROOT)/Support/module.modulemap
|
||||
|
||||
// Slow compilation hunt:
|
||||
// OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100
|
||||
|
||||
SWIFT_STRICT_CONCURRENCY = complete
|
||||
@@ -13,3 +13,5 @@ OTHER_SWIFT_FLAGS = $(inherited) -D SQLITE_ENABLE_FTS5
|
||||
// https://twitter.com/olebegemann/status/1421144304127463427?lang=en
|
||||
// Those as commented out by default, until minimum support Xcode version can handle them.
|
||||
// OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -warn-concurrency -Xfrontend -enable-actor-data-race-checks
|
||||
|
||||
SWIFT_STRICT_CONCURRENCY = complete
|
||||
@@ -0,0 +1,4 @@
|
||||
#include "GRDBBase.xcconfig"
|
||||
|
||||
// TODO: move to GRDBBase.xcconfig once https://github.com/apple/swift/issues/73313 is fixed.
|
||||
OTHER_SWIFT_FLAGS = $(inherited) -enable-upcoming-feature InferSendableFromCaptures
|
||||
Reference in new issue
Block a user