Skip to content

Commit c892464

Browse files
committed
Added XCode static library project
1 parent e55dd0e commit c892464

2 files changed

Lines changed: 287 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.mode1v3
2+
*.pbxuser
Lines changed: 285 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 45;
7+
objects = {
8+
9+
/* Begin PBXAggregateTarget section */
10+
9069D08B0FCE185A0042E34C /* amalgamation */ = {
11+
isa = PBXAggregateTarget;
12+
buildConfigurationList = 9069D0900FCE18970042E34C /* Build configuration list for PBXAggregateTarget "amalgamation" */;
13+
buildPhases = (
14+
9069D08A0FCE185A0042E34C /* ShellScript */,
15+
);
16+
dependencies = (
17+
);
18+
name = amalgamation;
19+
productName = amalgamation;
20+
};
21+
/* End PBXAggregateTarget section */
22+
23+
/* Begin PBXBuildFile section */
24+
9069D0A30FCE1A4D0042E34C /* sqlite3.c in Sources */ = {isa = PBXBuildFile; fileRef = 9069D0A20FCE1A4D0042E34C /* sqlite3.c */; };
25+
/* End PBXBuildFile section */
26+
27+
/* Begin PBXContainerItemProxy section */
28+
9069D08E0FCE18790042E34C /* PBXContainerItemProxy */ = {
29+
isa = PBXContainerItemProxy;
30+
containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
31+
proxyType = 1;
32+
remoteGlobalIDString = 9069D08B0FCE185A0042E34C;
33+
remoteInfo = amalgamation;
34+
};
35+
/* End PBXContainerItemProxy section */
36+
37+
/* Begin PBXFileReference section */
38+
9069D0A20FCE1A4D0042E34C /* sqlite3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sqlite3.c; sourceTree = "<group>"; };
39+
D2AAC046055464E500DB518D /* libsqlcipher.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libsqlcipher.a; sourceTree = BUILT_PRODUCTS_DIR; };
40+
/* End PBXFileReference section */
41+
42+
/* Begin PBXFrameworksBuildPhase section */
43+
D289987405E68DCB004EDB86 /* Frameworks */ = {
44+
isa = PBXFrameworksBuildPhase;
45+
buildActionMask = 2147483647;
46+
files = (
47+
);
48+
runOnlyForDeploymentPostprocessing = 0;
49+
};
50+
/* End PBXFrameworksBuildPhase section */
51+
52+
/* Begin PBXGroup section */
53+
08FB7794FE84155DC02AAC07 /* sqlcipher */ = {
54+
isa = PBXGroup;
55+
children = (
56+
08FB7795FE84155DC02AAC07 /* Source */,
57+
C6A0FF2B0290797F04C91782 /* Documentation */,
58+
1AB674ADFE9D54B511CA2CBB /* Products */,
59+
);
60+
name = sqlcipher;
61+
sourceTree = "<group>";
62+
};
63+
08FB7795FE84155DC02AAC07 /* Source */ = {
64+
isa = PBXGroup;
65+
children = (
66+
9069D0A20FCE1A4D0042E34C /* sqlite3.c */,
67+
);
68+
name = Source;
69+
sourceTree = "<group>";
70+
};
71+
1AB674ADFE9D54B511CA2CBB /* Products */ = {
72+
isa = PBXGroup;
73+
children = (
74+
D2AAC046055464E500DB518D /* libsqlcipher.a */,
75+
);
76+
name = Products;
77+
sourceTree = "<group>";
78+
};
79+
C6A0FF2B0290797F04C91782 /* Documentation */ = {
80+
isa = PBXGroup;
81+
children = (
82+
);
83+
name = Documentation;
84+
sourceTree = "<group>";
85+
};
86+
/* End PBXGroup section */
87+
88+
/* Begin PBXHeadersBuildPhase section */
89+
D2AAC043055464E500DB518D /* Headers */ = {
90+
isa = PBXHeadersBuildPhase;
91+
buildActionMask = 2147483647;
92+
files = (
93+
);
94+
runOnlyForDeploymentPostprocessing = 0;
95+
};
96+
/* End PBXHeadersBuildPhase section */
97+
98+
/* Begin PBXNativeTarget section */
99+
D2AAC045055464E500DB518D /* sqlcipher */ = {
100+
isa = PBXNativeTarget;
101+
buildConfigurationList = 1DEB91EB08733DB70010E9CD /* Build configuration list for PBXNativeTarget "sqlcipher" */;
102+
buildPhases = (
103+
D2AAC043055464E500DB518D /* Headers */,
104+
D2AAC044055464E500DB518D /* Sources */,
105+
D289987405E68DCB004EDB86 /* Frameworks */,
106+
);
107+
buildRules = (
108+
);
109+
dependencies = (
110+
9069D08F0FCE18790042E34C /* PBXTargetDependency */,
111+
);
112+
name = sqlcipher;
113+
productName = sqlcipher;
114+
productReference = D2AAC046055464E500DB518D /* libsqlcipher.a */;
115+
productType = "com.apple.product-type.library.static";
116+
};
117+
/* End PBXNativeTarget section */
118+
119+
/* Begin PBXProject section */
120+
08FB7793FE84155DC02AAC07 /* Project object */ = {
121+
isa = PBXProject;
122+
buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "sqlcipher" */;
123+
compatibilityVersion = "Xcode 3.1";
124+
hasScannedForEncodings = 1;
125+
mainGroup = 08FB7794FE84155DC02AAC07 /* sqlcipher */;
126+
projectDirPath = "";
127+
projectRoot = "";
128+
targets = (
129+
D2AAC045055464E500DB518D /* sqlcipher */,
130+
9069D08B0FCE185A0042E34C /* amalgamation */,
131+
);
132+
};
133+
/* End PBXProject section */
134+
135+
/* Begin PBXShellScriptBuildPhase section */
136+
9069D08A0FCE185A0042E34C /* ShellScript */ = {
137+
isa = PBXShellScriptBuildPhase;
138+
buildActionMask = 2147483647;
139+
files = (
140+
);
141+
inputPaths = (
142+
"$(SRCROOT)/sqlite3.c",
143+
);
144+
outputPaths = (
145+
"$(BUILT_PRODUCTS_DIR)/libsqlcipher.a",
146+
);
147+
runOnlyForDeploymentPostprocessing = 0;
148+
shellPath = /bin/sh;
149+
shellScript = "./configure CFLAGS=\"-DSQLITE_HAS_CODEC\"\nmake sqlite3.c\nexit 0";
150+
};
151+
/* End PBXShellScriptBuildPhase section */
152+
153+
/* Begin PBXSourcesBuildPhase section */
154+
D2AAC044055464E500DB518D /* Sources */ = {
155+
isa = PBXSourcesBuildPhase;
156+
buildActionMask = 2147483647;
157+
files = (
158+
9069D0A30FCE1A4D0042E34C /* sqlite3.c in Sources */,
159+
);
160+
runOnlyForDeploymentPostprocessing = 0;
161+
};
162+
/* End PBXSourcesBuildPhase section */
163+
164+
/* Begin PBXTargetDependency section */
165+
9069D08F0FCE18790042E34C /* PBXTargetDependency */ = {
166+
isa = PBXTargetDependency;
167+
target = 9069D08B0FCE185A0042E34C /* amalgamation */;
168+
targetProxy = 9069D08E0FCE18790042E34C /* PBXContainerItemProxy */;
169+
};
170+
/* End PBXTargetDependency section */
171+
172+
/* Begin XCBuildConfiguration section */
173+
1DEB91EC08733DB70010E9CD /* Debug */ = {
174+
isa = XCBuildConfiguration;
175+
buildSettings = {
176+
ALWAYS_SEARCH_USER_PATHS = NO;
177+
COPY_PHASE_STRIP = NO;
178+
GCC_DYNAMIC_NO_PIC = NO;
179+
GCC_ENABLE_FIX_AND_CONTINUE = YES;
180+
GCC_MODEL_TUNING = G5;
181+
GCC_OPTIMIZATION_LEVEL = 0;
182+
HEADER_SEARCH_PATHS = "$(OPENSSL_SRC)/include";
183+
INSTALL_PATH = /usr/local/lib;
184+
OTHER_CFLAGS = "-DSQLITE_HAS_CODEC";
185+
OTHER_LDFLAGS = "";
186+
PRODUCT_NAME = sqlcipher;
187+
};
188+
name = Debug;
189+
};
190+
1DEB91ED08733DB70010E9CD /* Release */ = {
191+
isa = XCBuildConfiguration;
192+
buildSettings = {
193+
ALWAYS_SEARCH_USER_PATHS = NO;
194+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
195+
GCC_MODEL_TUNING = G5;
196+
HEADER_SEARCH_PATHS = "$(OPENSSL_SRC)/include";
197+
INSTALL_PATH = /usr/local/lib;
198+
OTHER_CFLAGS = "-DSQLITE_HAS_CODEC";
199+
OTHER_LDFLAGS = "";
200+
PRODUCT_NAME = sqlcipher;
201+
};
202+
name = Release;
203+
};
204+
1DEB91F008733DB70010E9CD /* Debug */ = {
205+
isa = XCBuildConfiguration;
206+
buildSettings = {
207+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
208+
GCC_C_LANGUAGE_STANDARD = c99;
209+
GCC_OPTIMIZATION_LEVEL = 0;
210+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
211+
GCC_WARN_UNUSED_VARIABLE = YES;
212+
ONLY_ACTIVE_ARCH = NO;
213+
PREBINDING = NO;
214+
VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6";
215+
};
216+
name = Debug;
217+
};
218+
1DEB91F108733DB70010E9CD /* Release */ = {
219+
isa = XCBuildConfiguration;
220+
buildSettings = {
221+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
222+
GCC_C_LANGUAGE_STANDARD = c99;
223+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
224+
GCC_WARN_UNUSED_VARIABLE = YES;
225+
ONLY_ACTIVE_ARCH = NO;
226+
PREBINDING = NO;
227+
VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6";
228+
};
229+
name = Release;
230+
};
231+
9069D08C0FCE185A0042E34C /* Debug */ = {
232+
isa = XCBuildConfiguration;
233+
buildSettings = {
234+
COPY_PHASE_STRIP = NO;
235+
GCC_DYNAMIC_NO_PIC = NO;
236+
GCC_OPTIMIZATION_LEVEL = 0;
237+
PRODUCT_NAME = amalgamation;
238+
};
239+
name = Debug;
240+
};
241+
9069D08D0FCE185A0042E34C /* Release */ = {
242+
isa = XCBuildConfiguration;
243+
buildSettings = {
244+
COPY_PHASE_STRIP = YES;
245+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
246+
GCC_ENABLE_FIX_AND_CONTINUE = NO;
247+
PRODUCT_NAME = amalgamation;
248+
ZERO_LINK = NO;
249+
};
250+
name = Release;
251+
};
252+
/* End XCBuildConfiguration section */
253+
254+
/* Begin XCConfigurationList section */
255+
1DEB91EB08733DB70010E9CD /* Build configuration list for PBXNativeTarget "sqlcipher" */ = {
256+
isa = XCConfigurationList;
257+
buildConfigurations = (
258+
1DEB91EC08733DB70010E9CD /* Debug */,
259+
1DEB91ED08733DB70010E9CD /* Release */,
260+
);
261+
defaultConfigurationIsVisible = 0;
262+
defaultConfigurationName = Release;
263+
};
264+
1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "sqlcipher" */ = {
265+
isa = XCConfigurationList;
266+
buildConfigurations = (
267+
1DEB91F008733DB70010E9CD /* Debug */,
268+
1DEB91F108733DB70010E9CD /* Release */,
269+
);
270+
defaultConfigurationIsVisible = 0;
271+
defaultConfigurationName = Release;
272+
};
273+
9069D0900FCE18970042E34C /* Build configuration list for PBXAggregateTarget "amalgamation" */ = {
274+
isa = XCConfigurationList;
275+
buildConfigurations = (
276+
9069D08C0FCE185A0042E34C /* Debug */,
277+
9069D08D0FCE185A0042E34C /* Release */,
278+
);
279+
defaultConfigurationIsVisible = 0;
280+
defaultConfigurationName = Release;
281+
};
282+
/* End XCConfigurationList section */
283+
};
284+
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
285+
}

0 commit comments

Comments
 (0)