Updated project file to explicitly build for armv6 and arm7. fixes #394, closes #395

In iOS 5, Apple has removed armv6 from $ARCHS_STANDARD_32_BIT. This can
result in RestKit being built against armv7 only when you are really trying
to build against the iOS 5 SDK, be deploy to 4.x devices. App store validation
will fail in these situations.
This commit is contained in:
Blake Watters
2011-10-11 17:55:37 -04:00
parent d5987f0433
commit be38c8a9a8

View File

@@ -2453,7 +2453,10 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 258F8500141061C3007AABCD /* PortableStaticLibrary.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = (
armv6,
armv7,
);
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_32_64_BIT)";
BUILD_STYLE = Debug;
GCC_C_LANGUAGE_STANDARD = c99;
@@ -2461,7 +2464,7 @@
GCC_PREFIX_HEADER = Code/Support/RestKit_Prefix.pch;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
@@ -2474,14 +2477,17 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 258F8500141061C3007AABCD /* PortableStaticLibrary.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = (
armv6,
armv7,
);
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_32_64_BIT)";
BUILD_STYLE = Release;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_PREFIX_HEADER = Code/Support/RestKit_Prefix.pch;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
@@ -2617,14 +2623,17 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 258F8500141061C3007AABCD /* PortableStaticLibrary.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = (
armv6,
armv7,
);
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_32_64_BIT)";
BUILD_STYLE = Release;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_PREFIX_HEADER = Code/Support/RestKit_Prefix.pch;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
@@ -2943,14 +2952,17 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 258F8500141061C3007AABCD /* PortableStaticLibrary.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = (
armv6,
armv7,
);
"ARCHS[sdk=macosx*]" = "$(ARCHS_STANDARD_32_64_BIT)";
BUILD_STYLE = Release;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_PREFIX_HEADER = Code/Support/RestKit_Prefix.pch;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";