Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 4 project updates. #1

Open
lhunath opened this issue Jun 23, 2011 · 2 comments
Open

Xcode 4 project updates. #1

lhunath opened this issue Jun 23, 2011 · 2 comments

Comments

@lhunath
Copy link
Contributor

lhunath commented Jun 23, 2011

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;
@bindle
Copy link
Collaborator

bindle commented Jun 29, 2011

I am unable to duplicate the warning you reported using iOS SDK 4.3. Are you using the iOS SDK Beta?

@lhunath
Copy link
Contributor Author

lhunath commented Jul 12, 2011

Yeah. This was with Xcode 4.2

@lhunath lhunath closed this as completed Jul 12, 2011
@lhunath lhunath reopened this Jul 12, 2011
NZKoz pushed a commit to NZKoz/iOSPorts that referenced this issue Oct 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant