Repository: cordova-ios
Updated Branches:
  refs/heads/master e8382f608 -> 06f1c8694


CB-5018 - bin/create on iOS should use --arc by default


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

Branch: refs/heads/master
Commit: 06f1c869444882d9763ecdcfa56c7a8e0a44da17
Parents: e8382f6
Author: Shazron Abdullah <[email protected]>
Authored: Fri Feb 14 16:23:29 2014 -0800
Committer: Shazron Abdullah <[email protected]>
Committed: Fri Feb 14 16:23:29 2014 -0800

----------------------------------------------------------------------
 bin/create | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/06f1c869/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index b6aa0d4..90f9ce6 100755
--- a/bin/create
+++ b/bin/create
@@ -33,7 +33,6 @@ set -e
 function usage() {
   echo "Usage: $0 [--shared] [--arc] [--cli] <path_to_new_project> 
<package_name> <project_name> [<project_template_dir>]"
   echo "       --shared (optional): Link directly against the shared copy of 
the CordovaLib instead of a copy of it."
-  echo "       --arc (optional): Enable ARC."
   echo "       --cli (optional): Use the CLI-project template."
   echo "       <path_to_new_project>: Path to your new Cordova iOS project"
   echo "       <package_name>: Package name, following reverse-domain style 
convention"
@@ -43,7 +42,6 @@ function usage() {
 }
 
 USE_SHARED=0
-USE_ARC=0
 USE_CLI=0
 while [ $# -gt 0 ]; do
     case "$1" in
@@ -155,10 +153,6 @@ else
     "$BINDIR/update_cordova_subproject" "$R.xcodeproj/project.pbxproj" 
"$PROJECT_PATH/CordovaLib/CordovaLib.xcodeproj/project.pbxproj" > /dev/null
 fi
 
-if [[ $USE_ARC = 1 ]]; then
-    /usr/bin/sed -i '' 's/CLANG_ENABLE_OBJC_ARC = NO/CLANG_ENABLE_OBJC_ARC = 
YES/' "$R.xcodeproj/project.pbxproj" > /dev/null
-fi
-
 # Finally copy the scripts
 cp -r "$SCRIPT_TEMPLATE_DIR"/* "$PROJECT_PATH/"
 

Reply via email to