Skip to content

Commit 33178e0

Browse files
committed
Added iOS Framework target
1 parent 9dd0446 commit 33178e0

File tree

3 files changed

+260
-0
lines changed

3 files changed

+260
-0
lines changed

SQLite-iOS.plist

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>com.stephencelis.$(PRODUCT_NAME:rfc1034identifier)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>0.1</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSHumanReadableCopyright</key>
24+
<string>Copyright © 2014–2015 Stephen Celis.</string>
25+
<key>NSPrincipalClass</key>
26+
<string></string>
27+
</dict>
28+
</plist>

SQLite.xcodeproj/project.pbxproj

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
B34350D01AF7C46600EB5715 /* Database.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC37743419C8D626004FCF85 /* Database.swift */; };
11+
B34350D11AF7C46600EB5715 /* SQLite-Bridging.m in Sources */ = {isa = PBXBuildFile; fileRef = DC2393C71ABE35F8003FF113 /* SQLite-Bridging.m */; };
12+
B34350D21AF7C46600EB5715 /* FTS.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCAFEAD21AABC818000C21A1 /* FTS.swift */; };
13+
B34350D31AF7C46600EB5715 /* Statement.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC37743A19C8D6C0004FCF85 /* Statement.swift */; };
14+
B34350D41AF7C46600EB5715 /* Value.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC37743719C8D693004FCF85 /* Value.swift */; };
15+
B34350D51AF7C46600EB5715 /* Expression.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC650B9519F0CDC3002FBE91 /* Expression.swift */; };
16+
B34350D61AF7C46600EB5715 /* RTree.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCBE28401ABDF18F0042A3FC /* RTree.swift */; };
17+
B34350D71AF7C46600EB5715 /* Query.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCAD429619E2E0F1004A51DF /* Query.swift */; };
18+
B34350D81AF7C46600EB5715 /* Schema.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC109CE01A0C4D970070988E /* Schema.swift */; };
19+
B34350D91AF7C46600EB5715 /* Functions.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC3F170F1A8127A300C83A2F /* Functions.swift */; };
20+
B34350DB1AF7C46600EB5715 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = DC37744219C8DC91004FCF85 /* libsqlite3.dylib */; };
21+
B34350DD1AF7C46600EB5715 /* fts3_tokenizer.h in Headers */ = {isa = PBXBuildFile; fileRef = DC2F675D1AEA7CD600151C15 /* fts3_tokenizer.h */; };
22+
B34350DE1AF7C46600EB5715 /* SQLite.h in Headers */ = {isa = PBXBuildFile; fileRef = DC3773F819C8CBB3004FCF85 /* SQLite.h */; settings = {ATTRIBUTES = (Public, ); }; };
23+
B34350DF1AF7C46600EB5715 /* SQLite-Bridging.h in Headers */ = {isa = PBXBuildFile; fileRef = DC2393C61ABE35F8003FF113 /* SQLite-Bridging.h */; settings = {ATTRIBUTES = (Public, ); }; };
1024
DC109CE11A0C4D970070988E /* Schema.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC109CE01A0C4D970070988E /* Schema.swift */; };
1125
DC109CE41A0C4F5D0070988E /* SchemaTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC109CE31A0C4F5D0070988E /* SchemaTests.swift */; };
1226
DC2393C81ABE35F8003FF113 /* SQLite-Bridging.h in Headers */ = {isa = PBXBuildFile; fileRef = DC2393C61ABE35F8003FF113 /* SQLite-Bridging.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -54,6 +68,20 @@
5468
/* End PBXBuildFile section */
5569

5670
/* Begin PBXContainerItemProxy section */
71+
B34350CE1AF7C46600EB5715 /* PBXContainerItemProxy */ = {
72+
isa = PBXContainerItemProxy;
73+
containerPortal = DC3773EA19C8CBB3004FCF85 /* Project object */;
74+
proxyType = 1;
75+
remoteGlobalIDString = DCAE4D141ABE0B3300EFCE7A;
76+
remoteInfo = sqlite3;
77+
};
78+
DC2393CF1ABE37A5003FF113 /* PBXContainerItemProxy */ = {
79+
isa = PBXContainerItemProxy;
80+
containerPortal = DC3773EA19C8CBB3004FCF85 /* Project object */;
81+
proxyType = 1;
82+
remoteGlobalIDString = DCAE4D141ABE0B3300EFCE7A;
83+
remoteInfo = sqlite3;
84+
};
5785
DC2DD6AB1ABE428E00C2C71A /* PBXContainerItemProxy */ = {
5886
isa = PBXContainerItemProxy;
5987
containerPortal = DCC6B3961A91938F00734B78 /* sqlcipher.xcodeproj */;
@@ -99,6 +127,8 @@
99127
/* End PBXCopyFilesBuildPhase section */
100128

101129
/* Begin PBXFileReference section */
130+
B34350E41AF7C46600EB5715 /* SQLite.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SQLite.framework; sourceTree = BUILT_PRODUCTS_DIR; };
131+
B34350E51AF7C46600EB5715 /* SQLite-iOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "SQLite-iOS.plist"; path = "/Users/nvh/ios/third-party/SQLite.swift/SQLite-iOS.plist"; sourceTree = "<absolute>"; };
102132
DC109CE01A0C4D970070988E /* Schema.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = Schema.swift; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
103133
DC109CE31A0C4F5D0070988E /* SchemaTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SchemaTests.swift; sourceTree = "<group>"; };
104134
DC2393C61ABE35F8003FF113 /* SQLite-Bridging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "SQLite-Bridging.h"; sourceTree = "<group>"; };
@@ -138,6 +168,14 @@
138168
/* End PBXFileReference section */
139169

140170
/* Begin PBXFrameworksBuildPhase section */
171+
B34350DA1AF7C46600EB5715 /* Frameworks */ = {
172+
isa = PBXFrameworksBuildPhase;
173+
buildActionMask = 2147483647;
174+
files = (
175+
B34350DB1AF7C46600EB5715 /* libsqlite3.dylib in Frameworks */,
176+
);
177+
runOnlyForDeploymentPostprocessing = 0;
178+
};
141179
DC3773EF19C8CBB3004FCF85 /* Frameworks */ = {
142180
isa = PBXFrameworksBuildPhase;
143181
buildActionMask = 2147483647;
@@ -174,6 +212,14 @@
174212
/* End PBXFrameworksBuildPhase section */
175213

176214
/* Begin PBXGroup section */
215+
B34350A21AF7BA3200EB5715 /* SQLite-iOS */ = {
216+
isa = PBXGroup;
217+
children = (
218+
B34350E51AF7C46600EB5715 /* SQLite-iOS.plist */,
219+
);
220+
path = "SQLite-iOS";
221+
sourceTree = "<group>";
222+
};
177223
DC037C0919F0240100959746 /* Query Building */ = {
178224
isa = PBXGroup;
179225
children = (
@@ -222,6 +268,7 @@
222268
DCC6B3A11A91949C00734B78 /* SQLiteCipher */,
223269
DCC6B3A21A91949C00734B78 /* SQLiteCipher Tests */,
224270
DCC6B3961A91938F00734B78 /* sqlcipher.xcodeproj */,
271+
B34350A21AF7BA3200EB5715 /* SQLite-iOS */,
225272
DC3773F419C8CBB3004FCF85 /* Products */,
226273
);
227274
indentWidth = 4;
@@ -236,6 +283,8 @@
236283
DC3773FE19C8CBB3004FCF85 /* SQLite Tests.xctest */,
237284
DCC6B3801A9191C300734B78 /* SQLite.framework */,
238285
DCC6B3921A9191D100734B78 /* SQLiteCipher Tests.xctest */,
286+
DCAE4D151ABE0B3300EFCE7A /* sqlite3.framework */,
287+
B34350E41AF7C46600EB5715 /* SQLite.framework */,
239288
);
240289
name = Products;
241290
sourceTree = "<group>";
@@ -295,6 +344,16 @@
295344
/* End PBXGroup section */
296345

297346
/* Begin PBXHeadersBuildPhase section */
347+
B34350DC1AF7C46600EB5715 /* Headers */ = {
348+
isa = PBXHeadersBuildPhase;
349+
buildActionMask = 2147483647;
350+
files = (
351+
B34350DD1AF7C46600EB5715 /* fts3_tokenizer.h in Headers */,
352+
B34350DE1AF7C46600EB5715 /* SQLite.h in Headers */,
353+
B34350DF1AF7C46600EB5715 /* SQLite-Bridging.h in Headers */,
354+
);
355+
runOnlyForDeploymentPostprocessing = 0;
356+
};
298357
DC3773F019C8CBB3004FCF85 /* Headers */ = {
299358
isa = PBXHeadersBuildPhase;
300359
buildActionMask = 2147483647;
@@ -318,6 +377,25 @@
318377
/* End PBXHeadersBuildPhase section */
319378

320379
/* Begin PBXNativeTarget section */
380+
B34350CC1AF7C46600EB5715 /* SQLite-iOS */ = {
381+
isa = PBXNativeTarget;
382+
buildConfigurationList = B34350E11AF7C46600EB5715 /* Build configuration list for PBXNativeTarget "SQLite-iOS" */;
383+
buildPhases = (
384+
B34350CF1AF7C46600EB5715 /* Sources */,
385+
B34350DA1AF7C46600EB5715 /* Frameworks */,
386+
B34350DC1AF7C46600EB5715 /* Headers */,
387+
B34350E01AF7C46600EB5715 /* Resources */,
388+
);
389+
buildRules = (
390+
);
391+
dependencies = (
392+
B34350CD1AF7C46600EB5715 /* PBXTargetDependency */,
393+
);
394+
name = "SQLite-iOS";
395+
productName = SQLite;
396+
productReference = B34350E41AF7C46600EB5715 /* SQLite.framework */;
397+
productType = "com.apple.product-type.framework";
398+
};
321399
DC3773F219C8CBB3004FCF85 /* SQLite */ = {
322400
isa = PBXNativeTarget;
323401
buildConfigurationList = DC37740919C8CBB3004FCF85 /* Build configuration list for PBXNativeTarget "SQLite" */;
@@ -431,6 +509,8 @@
431509
DC3773FD19C8CBB3004FCF85 /* SQLite Tests */,
432510
DCC6B36D1A9191C300734B78 /* SQLiteCipher */,
433511
DCC6B3821A9191D100734B78 /* SQLiteCipher Tests */,
512+
DCAE4D141ABE0B3300EFCE7A /* sqlite3 */,
513+
B34350CC1AF7C46600EB5715 /* SQLite-iOS */,
434514
);
435515
};
436516
/* End PBXProject section */
@@ -446,6 +526,13 @@
446526
/* End PBXReferenceProxy section */
447527

448528
/* Begin PBXResourcesBuildPhase section */
529+
B34350E01AF7C46600EB5715 /* Resources */ = {
530+
isa = PBXResourcesBuildPhase;
531+
buildActionMask = 2147483647;
532+
files = (
533+
);
534+
runOnlyForDeploymentPostprocessing = 0;
535+
};
449536
DC3773F119C8CBB3004FCF85 /* Resources */ = {
450537
isa = PBXResourcesBuildPhase;
451538
buildActionMask = 2147483647;
@@ -477,6 +564,23 @@
477564
/* End PBXResourcesBuildPhase section */
478565

479566
/* Begin PBXSourcesBuildPhase section */
567+
B34350CF1AF7C46600EB5715 /* Sources */ = {
568+
isa = PBXSourcesBuildPhase;
569+
buildActionMask = 2147483647;
570+
files = (
571+
B34350D01AF7C46600EB5715 /* Database.swift in Sources */,
572+
B34350D11AF7C46600EB5715 /* SQLite-Bridging.m in Sources */,
573+
B34350D21AF7C46600EB5715 /* FTS.swift in Sources */,
574+
B34350D31AF7C46600EB5715 /* Statement.swift in Sources */,
575+
B34350D41AF7C46600EB5715 /* Value.swift in Sources */,
576+
B34350D51AF7C46600EB5715 /* Expression.swift in Sources */,
577+
B34350D61AF7C46600EB5715 /* RTree.swift in Sources */,
578+
B34350D71AF7C46600EB5715 /* Query.swift in Sources */,
579+
B34350D81AF7C46600EB5715 /* Schema.swift in Sources */,
580+
B34350D91AF7C46600EB5715 /* Functions.swift in Sources */,
581+
);
582+
runOnlyForDeploymentPostprocessing = 0;
583+
};
480584
DC3773EE19C8CBB3004FCF85 /* Sources */ = {
481585
isa = PBXSourcesBuildPhase;
482586
buildActionMask = 2147483647;
@@ -540,6 +644,16 @@
540644
/* End PBXSourcesBuildPhase section */
541645

542646
/* Begin PBXTargetDependency section */
647+
B34350CD1AF7C46600EB5715 /* PBXTargetDependency */ = {
648+
isa = PBXTargetDependency;
649+
target = DCAE4D141ABE0B3300EFCE7A /* sqlite3 */;
650+
targetProxy = B34350CE1AF7C46600EB5715 /* PBXContainerItemProxy */;
651+
};
652+
DC2393D01ABE37A5003FF113 /* PBXTargetDependency */ = {
653+
isa = PBXTargetDependency;
654+
target = DCAE4D141ABE0B3300EFCE7A /* sqlite3 */;
655+
targetProxy = DC2393CF1ABE37A5003FF113 /* PBXContainerItemProxy */;
656+
};
543657
DC2DD6B21ABE438900C2C71A /* PBXTargetDependency */ = {
544658
isa = PBXTargetDependency;
545659
name = sqlcipher;
@@ -558,6 +672,47 @@
558672
/* End PBXTargetDependency section */
559673

560674
/* Begin XCBuildConfiguration section */
675+
B34350E21AF7C46600EB5715 /* Debug */ = {
676+
isa = XCBuildConfiguration;
677+
baseConfigurationReference = DC37742E19C8CE67004FCF85 /* SQLite.xcconfig */;
678+
buildSettings = {
679+
CLANG_ENABLE_MODULES = YES;
680+
DEFINES_MODULE = YES;
681+
DYLIB_COMPATIBILITY_VERSION = 1;
682+
DYLIB_CURRENT_VERSION = 1;
683+
DYLIB_INSTALL_NAME_BASE = "@rpath";
684+
INFOPLIST_FILE = "SQLite-iOS.plist";
685+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
686+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
687+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
688+
PRODUCT_NAME = SQLite;
689+
SDKROOT = iphoneos;
690+
SKIP_INSTALL = YES;
691+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
692+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
693+
};
694+
name = Debug;
695+
};
696+
B34350E31AF7C46600EB5715 /* Release */ = {
697+
isa = XCBuildConfiguration;
698+
baseConfigurationReference = DC37742E19C8CE67004FCF85 /* SQLite.xcconfig */;
699+
buildSettings = {
700+
CLANG_ENABLE_MODULES = YES;
701+
DEFINES_MODULE = YES;
702+
DYLIB_COMPATIBILITY_VERSION = 1;
703+
DYLIB_CURRENT_VERSION = 1;
704+
DYLIB_INSTALL_NAME_BASE = "@rpath";
705+
INFOPLIST_FILE = "SQLite-iOS.plist";
706+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
707+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
708+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
709+
PRODUCT_NAME = SQLite;
710+
SDKROOT = iphoneos;
711+
SKIP_INSTALL = YES;
712+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
713+
};
714+
name = Release;
715+
};
561716
DC37740719C8CBB3004FCF85 /* Debug */ = {
562717
isa = XCBuildConfiguration;
563718
buildSettings = {
@@ -762,6 +917,15 @@
762917
/* End XCBuildConfiguration section */
763918

764919
/* Begin XCConfigurationList section */
920+
B34350E11AF7C46600EB5715 /* Build configuration list for PBXNativeTarget "SQLite-iOS" */ = {
921+
isa = XCConfigurationList;
922+
buildConfigurations = (
923+
B34350E21AF7C46600EB5715 /* Debug */,
924+
B34350E31AF7C46600EB5715 /* Release */,
925+
);
926+
defaultConfigurationIsVisible = 0;
927+
defaultConfigurationName = Release;
928+
};
765929
DC3773ED19C8CBB3004FCF85 /* Build configuration list for PBXProject "SQLite" */ = {
766930
isa = XCConfigurationList;
767931
buildConfigurations = (
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0630"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "B34350CC1AF7C46600EB5715"
18+
BuildableName = "SQLite copy.framework"
19+
BlueprintName = "SQLite-iOS"
20+
ReferencedContainer = "container:SQLite.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "B34350A01AF7BA3200EB5715"
36+
BuildableName = "SQLite-iOS.framework"
37+
BlueprintName = "SQLite-iOS"
38+
ReferencedContainer = "container:SQLite.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
</TestAction>
42+
<LaunchAction
43+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
44+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45+
launchStyle = "0"
46+
useCustomWorkingDirectory = "NO"
47+
buildConfiguration = "Debug"
48+
ignoresPersistentStateOnLaunch = "NO"
49+
debugDocumentVersioning = "YES"
50+
allowLocationSimulation = "YES">
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</LaunchAction>
54+
<ProfileAction
55+
shouldUseLaunchSchemeArgsEnv = "YES"
56+
savedToolIdentifier = ""
57+
useCustomWorkingDirectory = "NO"
58+
buildConfiguration = "Release"
59+
debugDocumentVersioning = "YES">
60+
</ProfileAction>
61+
<AnalyzeAction
62+
buildConfiguration = "Debug">
63+
</AnalyzeAction>
64+
<ArchiveAction
65+
buildConfiguration = "Release"
66+
revealArchiveInOrganizer = "YES">
67+
</ArchiveAction>
68+
</Scheme>

0 commit comments

Comments
 (0)