Added a new OSX framework target for OS X 10.9+.

This commit is contained in:
Christian Noon 2015-11-17 20:57:18 -08:00
parent 8554c8577f
commit a2d461cd6d
2 changed files with 308 additions and 1 deletions

View File

@ -23,6 +23,9 @@
/* Begin PBXBuildFile section */
4C0041A61BFC3A5000ED2AD5 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C0041A51BFC3A5000ED2AD5 /* Security.framework */; };
4C0041AB1BFC3A7E00ED2AD5 /* SQLCipher.h in Headers */ = {isa = PBXBuildFile; fileRef = 4C0041A91BFC3A7E00ED2AD5 /* SQLCipher.h */; settings = {ATTRIBUTES = (Public, ); }; };
4C0041B41BFC3B2200ED2AD5 /* SQLCipher OSX.h in Headers */ = {isa = PBXBuildFile; fileRef = 4C0041B31BFC3B2200ED2AD5 /* SQLCipher OSX.h */; settings = {ATTRIBUTES = (Public, ); }; };
4C0041BC1BFC3C7500ED2AD5 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C0041BB1BFC3C7500ED2AD5 /* Security.framework */; };
4C0041BD1BFC3C8300ED2AD5 /* SQLCipher.h in Headers */ = {isa = PBXBuildFile; fileRef = 4C0041A91BFC3A7E00ED2AD5 /* SQLCipher.h */; settings = {ATTRIBUTES = (Public, ); }; };
9069D0A30FCE1A4D0042E34C /* sqlite3.c in Sources */ = {isa = PBXBuildFile; fileRef = 9069D0A20FCE1A4D0042E34C /* sqlite3.c */; };
/* End PBXBuildFile section */
@ -41,6 +44,13 @@
remoteGlobalIDString = 9069D08B0FCE185A0042E34C;
remoteInfo = amalgamation;
};
4C0041B91BFC3C6E00ED2AD5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 9069D08B0FCE185A0042E34C;
remoteInfo = amalgamation;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
@ -48,6 +58,10 @@
4C0041A51BFC3A5000ED2AD5 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
4C0041A81BFC3A7E00ED2AD5 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = macosx/Info.plist; sourceTree = "<group>"; };
4C0041A91BFC3A7E00ED2AD5 /* SQLCipher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SQLCipher.h; path = macosx/SQLCipher.h; sourceTree = "<group>"; };
4C0041B11BFC3B2200ED2AD5 /* SQLCipher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SQLCipher.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4C0041B31BFC3B2200ED2AD5 /* SQLCipher OSX.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SQLCipher OSX.h"; sourceTree = "<group>"; };
4C0041B51BFC3B2200ED2AD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4C0041BB1BFC3C7500ED2AD5 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
9069D0A20FCE1A4D0042E34C /* sqlite3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sqlite3.c; sourceTree = "<group>"; };
D2AAC046055464E500DB518D /* libsqlcipher.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libsqlcipher.a; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
@ -60,6 +74,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4C0041AD1BFC3B2200ED2AD5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4C0041BC1BFC3C7500ED2AD5 /* Security.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
D289987405E68DCB004EDB86 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@ -76,6 +98,7 @@
children = (
08FB7795FE84155DC02AAC07 /* Source */,
4C0041A41BFC3A3800ED2AD5 /* Supporting Files */,
4C0041B21BFC3B2200ED2AD5 /* SQLCipher OSX */,
4C0041A71BFC3A5400ED2AD5 /* Frameworks */,
1AB674ADFE9D54B511CA2CBB /* Products */,
);
@ -95,6 +118,7 @@
children = (
D2AAC046055464E500DB518D /* libsqlcipher.a */,
4C0041981BFC382400ED2AD5 /* SQLCipher.framework */,
4C0041B11BFC3B2200ED2AD5 /* SQLCipher.framework */,
);
name = Products;
sourceTree = "<group>";
@ -111,11 +135,21 @@
4C0041A71BFC3A5400ED2AD5 /* Frameworks */ = {
isa = PBXGroup;
children = (
4C0041BB1BFC3C7500ED2AD5 /* Security.framework */,
4C0041A51BFC3A5000ED2AD5 /* Security.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
4C0041B21BFC3B2200ED2AD5 /* SQLCipher OSX */ = {
isa = PBXGroup;
children = (
4C0041B31BFC3B2200ED2AD5 /* SQLCipher OSX.h */,
4C0041B51BFC3B2200ED2AD5 /* Info.plist */,
);
path = "SQLCipher OSX";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
@ -127,6 +161,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4C0041AE1BFC3B2200ED2AD5 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
4C0041BD1BFC3C8300ED2AD5 /* SQLCipher.h in Headers */,
4C0041B41BFC3B2200ED2AD5 /* SQLCipher OSX.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
D2AAC043055464E500DB518D /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
@ -156,6 +199,25 @@
productReference = 4C0041981BFC382400ED2AD5 /* SQLCipher.framework */;
productType = "com.apple.product-type.framework";
};
4C0041B01BFC3B2200ED2AD5 /* SQLCipher OSX */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4C0041B61BFC3B2200ED2AD5 /* Build configuration list for PBXNativeTarget "SQLCipher OSX" */;
buildPhases = (
4C0041AC1BFC3B2200ED2AD5 /* Sources */,
4C0041AD1BFC3B2200ED2AD5 /* Frameworks */,
4C0041AE1BFC3B2200ED2AD5 /* Headers */,
4C0041AF1BFC3B2200ED2AD5 /* Resources */,
);
buildRules = (
);
dependencies = (
4C0041BA1BFC3C6E00ED2AD5 /* PBXTargetDependency */,
);
name = "SQLCipher OSX";
productName = "SQLCipher OSX";
productReference = 4C0041B11BFC3B2200ED2AD5 /* SQLCipher.framework */;
productType = "com.apple.product-type.framework";
};
D2AAC045055464E500DB518D /* sqlcipher */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1DEB91EB08733DB70010E9CD /* Build configuration list for PBXNativeTarget "sqlcipher" */;
@ -185,6 +247,9 @@
4C0041971BFC382400ED2AD5 = {
CreatedOnToolsVersion = 7.1;
};
4C0041B01BFC3B2200ED2AD5 = {
CreatedOnToolsVersion = 7.1;
};
};
};
buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "sqlcipher" */;
@ -202,6 +267,7 @@
projectRoot = "";
targets = (
4C0041971BFC382400ED2AD5 /* SQLCipher iOS */,
4C0041B01BFC3B2200ED2AD5 /* SQLCipher OSX */,
D2AAC045055464E500DB518D /* sqlcipher */,
9069D08B0FCE185A0042E34C /* amalgamation */,
);
@ -216,6 +282,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4C0041AF1BFC3B2200ED2AD5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
@ -243,6 +316,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4C0041AC1BFC3B2200ED2AD5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
D2AAC044055464E500DB518D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@ -264,6 +344,11 @@
target = 9069D08B0FCE185A0042E34C /* amalgamation */;
targetProxy = 4C0041A11BFC392D00ED2AD5 /* PBXContainerItemProxy */;
};
4C0041BA1BFC3C6E00ED2AD5 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 9069D08B0FCE185A0042E34C /* amalgamation */;
targetProxy = 4C0041B91BFC3C6E00ED2AD5 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
@ -388,7 +473,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
"ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)";
"ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)";
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD)";
BITCODE_GENERATION_MODE = marker;
@ -519,6 +603,141 @@
};
name = Release;
};
4C0041B71BFC3B2200ED2AD5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
"ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)";
"ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)";
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD)";
BITCODE_GENERATION_MODE = marker;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_VERSION = A;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
INFOPLIST_FILE = macosx/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_CFLAGS = (
"-DSQLITE_HAS_CODEC",
"-DSQLITE_TEMP_STORE=2",
"-DSQLITE_THREADSAFE",
"-DSQLCIPHER_CRYPTO_CC",
);
PRODUCT_BUNDLE_IDENTIFIER = net.zetetic.SQLCipher;
PRODUCT_NAME = SQLCipher;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TVOS_DEPLOYMENT_TARGET = 9.0;
VALID_ARCHS = "i386 x86_64";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Debug;
};
4C0041B81BFC3B2200ED2AD5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
"ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)";
"ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)";
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD)";
BITCODE_GENERATION_MODE = bitcode;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_VERSION = A;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
INFOPLIST_FILE = macosx/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = (
"-DSQLITE_HAS_CODEC",
"-DSQLITE_TEMP_STORE=2",
"-DSQLITE_THREADSAFE",
"-DSQLCIPHER_CRYPTO_CC",
);
PRODUCT_BUNDLE_IDENTIFIER = net.zetetic.SQLCipher;
PRODUCT_NAME = SQLCipher;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = macosx;
TVOS_DEPLOYMENT_TARGET = 9.0;
VALID_ARCHS = "i386 x86_64";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Release;
};
9069D08C0FCE185A0042E34C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -574,6 +793,14 @@
);
defaultConfigurationIsVisible = 0;
};
4C0041B61BFC3B2200ED2AD5 /* Build configuration list for PBXNativeTarget "SQLCipher OSX" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4C0041B71BFC3B2200ED2AD5 /* Debug */,
4C0041B81BFC3B2200ED2AD5 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
9069D0900FCE18970042E34C /* Build configuration list for PBXAggregateTarget "amalgamation" */ = {
isa = XCConfigurationList;
buildConfigurations = (

View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C0041B01BFC3B2200ED2AD5"
BuildableName = "SQLCipher OSX.framework"
BlueprintName = "SQLCipher OSX"
ReferencedContainer = "container:sqlcipher.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 = "4C0041B01BFC3B2200ED2AD5"
BuildableName = "SQLCipher OSX.framework"
BlueprintName = "SQLCipher OSX"
ReferencedContainer = "container:sqlcipher.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4C0041B01BFC3B2200ED2AD5"
BuildableName = "SQLCipher OSX.framework"
BlueprintName = "SQLCipher OSX"
ReferencedContainer = "container:sqlcipher.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>