Skip to content

Commit 84c3ee9

Browse files
committed
correct overrides to support uiversal builds
1 parent e28cda5 commit 84c3ee9

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

sqlcipher.xcodeproj/project.pbxproj

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,31 +228,40 @@
228228
1DEB91F008733DB70010E9CD /* Debug */ = {
229229
isa = XCBuildConfiguration;
230230
buildSettings = {
231-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
231+
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
232+
"ARCHS[sdk=iphoneos*]" = (
233+
armv6,
234+
armv7,
235+
);
236+
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_32_64_BIT)";
232237
GCC_C_LANGUAGE_STANDARD = c99;
233238
GCC_OPTIMIZATION_LEVEL = 0;
234239
GCC_WARN_ABOUT_RETURN_TYPE = YES;
235240
GCC_WARN_UNUSED_VARIABLE = YES;
236-
ONLY_ACTIVE_ARCH = NO;
241+
ONLY_ACTIVE_ARCH = YES;
237242
PREBINDING = NO;
243+
SDKROOT = macosx;
238244
SKIP_INSTALL = YES;
239245
SUPPORTED_PLATFORMS = "iphonesimulator macosx iphoneos";
240-
VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6 armv7";
241246
};
242247
name = Debug;
243248
};
244249
1DEB91F108733DB70010E9CD /* Release */ = {
245250
isa = XCBuildConfiguration;
246251
buildSettings = {
247-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
252+
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
253+
"ARCHS[sdk=iphoneos*]" = (
254+
armv6,
255+
armv7,
256+
);
257+
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_32_64_BIT)";
248258
GCC_C_LANGUAGE_STANDARD = c99;
249259
GCC_WARN_ABOUT_RETURN_TYPE = YES;
250260
GCC_WARN_UNUSED_VARIABLE = YES;
251-
ONLY_ACTIVE_ARCH = NO;
252261
PREBINDING = NO;
262+
SDKROOT = macosx;
253263
SKIP_INSTALL = YES;
254264
SUPPORTED_PLATFORMS = "iphonesimulator macosx iphoneos";
255-
VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6 armv7";
256265
};
257266
name = Release;
258267
};

0 commit comments

Comments
 (0)