Xcode 4 shows a warning that the project configuration needs to be updated. Following patch applies the necessary changes to the openssl project:
diff --git a/ports/security/openssl/openssl.xcodeproj/project.pbxproj b/ports/security/openssl/openssl.xcodeproj/project.pbxproj
index 3d687ff..f29a40b 100644
--- a/ports/security/openssl/openssl.xcodeproj/project.pbxproj
+++ b/ports/security/openssl/openssl.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXAggregateTarget section */
@@ -6381,8 +6381,11 @@
/* Begin PBXProject section */
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "openssl" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
@@ -7084,7 +7087,6 @@
COPY_PHASE_STRIP = NO;
DSTROOT = /tmp/openssl.dst;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
@@ -7113,6 +7115,7 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvmgcc42;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
@@ -7131,7 +7134,6 @@
"-DOPENSSL_NO_STORE",
);
OTHER_LDFLAGS = "-ObjC";
- PREBINDING = NO;
SDKROOT = iphoneos;
};
name = Debug;
@@ -7142,6 +7144,7 @@
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvmgcc42;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
@@ -7160,7 +7163,6 @@
"-DOPENSSL_NO_STORE",
);
OTHER_LDFLAGS = "-ObjC";
- PREBINDING = NO;
SDKROOT = iphoneos;
};
name = Release;
@@ -7173,7 +7175,6 @@
COPY_PHASE_STRIP = NO;
DSTROOT = /tmp/openssl.dst;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
@@ -7210,7 +7211,6 @@
buildSettings = {
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_ENABLE_FIX_AND_CONTINUE = NO;
PRODUCT_NAME = OpenSSL;
ZERO_LINK = NO;
};
@@ -7231,7 +7231,6 @@
buildSettings = {
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_ENABLE_FIX_AND_CONTINUE = NO;
PRODUCT_NAME = Makefile;
ZERO_LINK = NO;
};
@@ -7255,7 +7254,6 @@
"-framework",
UIKit,
);
- PREBINDING = NO;
PRODUCT_NAME = test;
SKIP_INSTALL = YES;
};
@@ -7268,7 +7266,6 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/UIKit.framework/Headers/UIKit.h";
INFOPLIST_FILE = "examples/resources/test-Info.plist";
@@ -7279,7 +7276,6 @@
"-framework",
UIKit,
);
- PREBINDING = NO;
PRODUCT_NAME = test;
SKIP_INSTALL = YES;
ZERO_LINK = NO;