From 63fe17a77a7f584d2e4612aeeb8bf7a8282bdc68 Mon Sep 17 00:00:00 2001 From: samuele3hu Date: Thu, 9 Apr 2015 18:10:15 +0800 Subject: [PATCH] Fix the crash of lua-game-controller-test iOS --- build/cocos2d_tests.xcodeproj/project.pbxproj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/cocos2d_tests.xcodeproj/project.pbxproj b/build/cocos2d_tests.xcodeproj/project.pbxproj index 7f122a6290..476b8f2e3c 100644 --- a/build/cocos2d_tests.xcodeproj/project.pbxproj +++ b/build/cocos2d_tests.xcodeproj/project.pbxproj @@ -5409,6 +5409,12 @@ "$(inherited)", "$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib", ); + "OTHER_LDFLAGS[sdk=iphonesimulator*][arch=x86_64]" = ( + "-pagezero_size", + 10000, + "-image_base", + 100000000, + ); PRODUCT_NAME = "lua-game-controller-test iOS"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -5435,6 +5441,12 @@ "$(inherited)", "$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib", ); + "OTHER_LDFLAGS[sdk=iphonesimulator*][arch=x86_64]" = ( + "-pagezero_size", + 10000, + "-image_base", + 100000000, + ); PRODUCT_NAME = "lua-game-controller-test iOS"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2";