Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions SQLiteCipher.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
80EC45611C4316CD00BADFB1 /* Cipher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80EC45601C4316CD00BADFB1 /* Cipher.swift */; };
80EC45631C43188800BADFB1 /* SQLite.h in Headers */ = {isa = PBXBuildFile; fileRef = 80EC45621C43188800BADFB1 /* SQLite.h */; settings = {ATTRIBUTES = (Public, ); }; };
80EC45691C43197700BADFB1 /* libsqlcipher.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 80EC44D51C4315A900BADFB1 /* libsqlcipher.a */; };
9C1B9D511CA5C93500EF0A1E /* Foundation+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C1B9D501CA5C93500EF0A1E /* Foundation+extension.swift */; };
9CEC27C01CA5D3BB002AA033 /* SQLite.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 80EC44C01C43159800BADFB1 /* SQLite.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -84,6 +86,27 @@
remoteGlobalIDString = D2AAC045055464E500DB518D;
remoteInfo = sqlcipher;
};
9C1B9D821CA5CDED00EF0A1E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 80EC44B31C43159800BADFB1 /* SQLite.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 03A65E5A1C6BB0F50062603F;
remoteInfo = "SQLite tvOS";
};
9C1B9D841CA5CDED00EF0A1E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 80EC44B31C43159800BADFB1 /* SQLite.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 03A65E631C6BB0F60062603F;
remoteInfo = "SQLiteTests tvOS";
};
9C1B9D861CA5CDED00EF0A1E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 80EC44B31C43159800BADFB1 /* SQLite.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = A121AC451CA35C79005A31D1;
remoteInfo = "SQLite watchOS";
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -116,13 +139,15 @@
80EC45481C43169C00BADFB1 /* Setter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Setter.swift; sourceTree = "<group>"; };
80EC45601C4316CD00BADFB1 /* Cipher.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cipher.swift; sourceTree = "<group>"; };
80EC45621C43188800BADFB1 /* SQLite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLite.h; sourceTree = "<group>"; };
9C1B9D501CA5C93500EF0A1E /* Foundation+extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Foundation+extension.swift"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
80EC44951C4314EE00BADFB1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9CEC27C01CA5D3BB002AA033 /* SQLite.framework in Frameworks */,
80EC45691C43197700BADFB1 /* libsqlcipher.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -164,6 +189,7 @@
80EC449C1C4314EE00BADFB1 /* SQLiteCipher.h */,
80EC449E1C4314EE00BADFB1 /* Info.plist */,
80EC45601C4316CD00BADFB1 /* Cipher.swift */,
9C1B9D501CA5C93500EF0A1E /* Foundation+extension.swift */,
80EC454A1C43169C00BADFB1 /* SQLite */,
);
path = SQLiteCipher;
Expand All @@ -185,6 +211,9 @@
80EC452F1C43169400BADFB1 /* SQLiteTests iOS.xctest */,
80EC44C41C43159800BADFB1 /* SQLite.framework */,
80EC45311C43169400BADFB1 /* SQLiteTests Mac.xctest */,
9C1B9D831CA5CDED00EF0A1E /* SQLite.framework */,
9C1B9D851CA5CDED00EF0A1E /* SQLiteTests tvOS.xctest */,
9C1B9D871CA5CDED00EF0A1E /* SQLite.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -384,6 +413,27 @@
remoteRef = 80EC45301C43169400BADFB1 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
9C1B9D831CA5CDED00EF0A1E /* SQLite.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = SQLite.framework;
remoteRef = 9C1B9D821CA5CDED00EF0A1E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
9C1B9D851CA5CDED00EF0A1E /* SQLiteTests tvOS.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = "SQLiteTests tvOS.xctest";
remoteRef = 9C1B9D841CA5CDED00EF0A1E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
9C1B9D871CA5CDED00EF0A1E /* SQLite.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = SQLite.framework;
remoteRef = 9C1B9D861CA5CDED00EF0A1E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
Expand Down Expand Up @@ -412,6 +462,7 @@
80EC454F1C43169C00BADFB1 /* Blob.swift in Sources */,
80EC45611C4316CD00BADFB1 /* Cipher.swift in Sources */,
80EC45561C43169C00BADFB1 /* R*Tree.swift in Sources */,
9C1B9D511CA5C93500EF0A1E /* Foundation+extension.swift in Sources */,
80EC45521C43169C00BADFB1 /* SQLite-Bridging.m in Sources */,
80EC45541C43169C00BADFB1 /* Value.swift in Sources */,
80EC455B1C43169C00BADFB1 /* Expression.swift in Sources */,
Expand Down Expand Up @@ -563,6 +614,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.stephencelis.SQLiteCipher;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
};
name = Debug;
};
Expand All @@ -581,6 +633,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.stephencelis.SQLiteCipher;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
};
name = Release;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "80EC44981C4314EE00BADFB1"
BuildableName = "SQLiteCipher.framework"
BlueprintName = "SQLiteCipher"
ReferencedContainer = "container:SQLiteCipher.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "80EC44981C4314EE00BADFB1"
BuildableName = "SQLiteCipher.framework"
BlueprintName = "SQLiteCipher"
ReferencedContainer = "container:SQLiteCipher.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "80EC44981C4314EE00BADFB1"
BuildableName = "SQLiteCipher.framework"
BlueprintName = "SQLiteCipher"
ReferencedContainer = "container:SQLiteCipher.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "80EC44A21C4314EE00BADFB1"
BuildableName = "SQLiteCipherTests.xctest"
BlueprintName = "SQLiteCipherTests"
ReferencedContainer = "container:SQLiteCipher.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion SQLiteCipher/Cipher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// THE SOFTWARE.
//

import SQLite3
//import SQLite3

extension Connection {

Expand Down
15 changes: 15 additions & 0 deletions SQLiteCipher/Foundation+extension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// Foundation+extension.swift
// SQLiteCipher
//
// Created by Geoffrey Blotter on 3/25/16.
// Copyright © 2016 Stephen Celis. All rights reserved.
//

import Foundation

extension NSData {

public typealias Datatype = Blob.Datatype

}
2 changes: 1 addition & 1 deletion Vendor/SQLite.swift
Submodule SQLite.swift updated 44 files
+1 −1 .travis.yml
+4 −0 CocoaPods/appletvos/module.modulemap
+4 −0 CocoaPods/appletvsimulator/module.modulemap
+4 −0 CocoaPods/iphoneos/module.modulemap
+4 −0 CocoaPods/iphonesimulator/module.modulemap
+4 −0 CocoaPods/macosx/module.modulemap
+4 −0 CocoaPods/watchos/module.modulemap
+4 −0 CocoaPods/watchsimulator/module.modulemap
+16 −29 Documentation/Index.md
+34 −0 Documentation/Planning.md
+25 −38 README.md
+18 −8 SQLite.swift.podspec
+502 −20 SQLite.xcodeproj/project.pbxproj
+100 −0 SQLite.xcodeproj/xcshareddata/xcschemes/SQLite tvOS.xcscheme
+0 −2 SQLite/Core/Blob.swift
+1 −1 SQLite/Core/Connection.swift
+37 −0 SQLite/Core/SQLite-Bridging.h
+2 −4 SQLite/Core/SQLite-Bridging.m
+8 −3 SQLite/Core/Statement.swift
+2 −2 SQLite/Core/Value.swift
+3 −1 SQLite/Extensions/FTS4.swift
+3 −1 SQLite/Foundation.swift
+5 −5 SQLite/Helpers.swift
+1 −1 SQLite/Info.plist
+1 −6 SQLite/SQLite.h
+10 −2 SQLite/Typed/Expression.swift
+8 −7 SQLite/Typed/Query.swift
+0 −5 SQLite3/module.modulemap
+1 −1 SQLiteTests/AggregateFunctionsTests.swift
+1 −1 SQLiteTests/BlobTests.swift
+1 −1 SQLiteTests/ConnectionTests.swift
+1 −1 SQLiteTests/CoreFunctionsTests.swift
+1 −1 SQLiteTests/CustomFunctionsTests.swift
+1 −1 SQLiteTests/ExpressionTests.swift
+1 −1 SQLiteTests/FTS4Tests.swift
+1 −1 SQLiteTests/OperatorsTests.swift
+9 −1 SQLiteTests/QueryTests.swift
+1 −1 SQLiteTests/R*TreeTests.swift
+1 −1 SQLiteTests/SchemaTests.swift
+1 −1 SQLiteTests/SetterTests.swift
+1 −1 SQLiteTests/StatementTests.swift
+5 −6 SQLiteTests/TestHelpers.swift
+1 −1 SQLiteTests/ValueTests.swift
+0 −12 module.modulemap