You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/02/22 21:58:42 UTC

ios commit: Fixed CB-253 - Xcode 4 Cordova-based Application - DEBUG macro not defined

Updated Branches:
  refs/heads/master 514d7bd6d -> b01f563c8


Fixed CB-253 - Xcode 4 Cordova-based Application - DEBUG macro not defined


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/b01f563c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/b01f563c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/b01f563c

Branch: refs/heads/master
Commit: b01f563c8acfe67288a8d7a94227f6cf60d513f1
Parents: 514d7bd
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Feb 22 12:58:33 2012 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Feb 22 12:58:33 2012 -0800

----------------------------------------------------------------------
 .../TemplateInfo.plist                             |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/b01f563c/Cordova-based Application.xctemplate/TemplateInfo.plist
----------------------------------------------------------------------
diff --git a/Cordova-based Application.xctemplate/TemplateInfo.plist b/Cordova-based Application.xctemplate/TemplateInfo.plist
index bbe0d1d..ae16720 100644
--- a/Cordova-based Application.xctemplate/TemplateInfo.plist	
+++ b/Cordova-based Application.xctemplate/TemplateInfo.plist	
@@ -360,6 +360,8 @@
 					<string>NO</string>
 					<key>GCC_DYNAMIC_NO_PIC</key>
 					<string>NO</string>
+					<key>GCC_PREPROCESSOR_DEFINITIONS</key>
+					<string>DEBUG=1, CORDOVA_FRAMEWORK=1</string>
 				</dict>
 				<key>Release</key>
 				<dict>
@@ -369,6 +371,8 @@
 					<string>dwarf-with-dsym</string>
 					<key>VALIDATE_PRODUCT</key>
 					<string>YES</string>
+					<key>GCC_PREPROCESSOR_DEFINITIONS</key>
+					<string>NDEBUG=1, CORDOVA_FRAMEWORK=1</string>
 				</dict>
 			</dict>
 			<key>Frameworks</key>
@@ -399,8 +403,6 @@
 				<string>YES</string>
 				<key>FRAMEWORK_SEARCH_PATHS</key>
 				<string>/Users/Shared/Cordova/Frameworks</string>
-				<key>GCC_PREPROCESSOR_DEFINITIONS</key>
-				<string>CORDOVA_FRAMEWORK=YES</string>
 				<key>PRODUCT_NAME</key>
 				<string>$(TARGET_NAME)</string>
 				<key>OTHER_LDFLAGS</key>