Skip to content

Commit d62fb5b

Browse files
wadetregaskisjberkel
authored andcommitted
• Fixed two remaining file references that I missed in the first pass.
• Added a [hopefully] temporary workaround to allow building within the existing Xcode project to work as it did before, in addition to command-line builds via `swift`.
1 parent 5f2d994 commit d62fb5b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

SQLite.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@
223223
EE247AE41C3F04ED00AE3E12 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
224224
EE247AEE1C3F06E900AE3E12 /* Blob.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Blob.swift; sourceTree = "<group>"; };
225225
EE247AEF1C3F06E900AE3E12 /* Connection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Connection.swift; sourceTree = "<group>"; };
226-
EE247AF01C3F06E900AE3E12 /* fts3_tokenizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fts3_tokenizer.h; path = Sources/SQLiteObjc/fts3_tokenizer.h; sourceTree = "<group>"; };
227-
EE247AF11C3F06E900AE3E12 /* SQLite-Bridging.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "SQLite-Bridging.m"; path = "Sources/SQLiteObjc/SQLite-Bridging.m"; sourceTree = "<group>"; };
226+
EE247AF01C3F06E900AE3E12 /* fts3_tokenizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fts3_tokenizer.h; path = ../../SQLiteObjc/fts3_tokenizer.h; sourceTree = "<group>"; };
227+
EE247AF11C3F06E900AE3E12 /* SQLite-Bridging.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "SQLite-Bridging.m"; path = "../../SQLiteObjc/SQLite-Bridging.m"; sourceTree = "<group>"; };
228228
EE247AF21C3F06E900AE3E12 /* Statement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Statement.swift; sourceTree = "<group>"; };
229229
EE247AF31C3F06E900AE3E12 /* Value.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Value.swift; sourceTree = "<group>"; };
230230
EE247AF51C3F06E900AE3E12 /* FTS4.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FTS4.swift; sourceTree = "<group>"; };
@@ -1222,6 +1222,7 @@
12221222
ONLY_ACTIVE_ARCH = YES;
12231223
PRODUCT_NAME = "";
12241224
SDKROOT = iphoneos;
1225+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = ALL_IN_ONE_BUILD;
12251226
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
12261227
TARGETED_DEVICE_FAMILY = "1,2,3";
12271228
VERSIONING_SYSTEM = "apple-generic";
@@ -1267,6 +1268,7 @@
12671268
MTL_ENABLE_DEBUG_INFO = NO;
12681269
PRODUCT_NAME = "";
12691270
SDKROOT = iphoneos;
1271+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = ALL_IN_ONE_BUILD;
12701272
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
12711273
TARGETED_DEVICE_FAMILY = "1,2,3";
12721274
VALIDATE_PRODUCT = YES;

Sources/SQLite/Extensions/FTS4.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
// THE SOFTWARE.
2323
//
2424

25+
#if ALL_IN_ONE_BUILD
26+
// Nothing required
27+
#else
2528
import SQLiteObjc
26-
29+
#endif
2730

2831
extension Module {
2932

0 commit comments

Comments
 (0)