mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 09:31:17 +08:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user