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 2016/10/24 21:42:53 UTC

docs commit: CB-12000 - Add documentation for --buildFlag cli option

Repository: cordova-docs
Updated Branches:
  refs/heads/master 8371d2f26 -> 668933681


CB-12000 - Add documentation for --buildFlag cli option

 This closes #654


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

Branch: refs/heads/master
Commit: 668933681004acf0151d88282cd4a70439517192
Parents: 8371d2f
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Oct 24 14:40:50 2016 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 24 14:42:46 2016 -0700

----------------------------------------------------------------------
 www/docs/en/dev/guide/platforms/ios/index.md | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/66893368/www/docs/en/dev/guide/platforms/ios/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/guide/platforms/ios/index.md b/www/docs/en/dev/guide/platforms/ios/index.md
index c6bbb11..8ee40f5 100644
--- a/www/docs/en/dev/guide/platforms/ios/index.md
+++ b/www/docs/en/dev/guide/platforms/ios/index.md
@@ -186,6 +186,13 @@ build configuration file:
 }
 ```
 
+## Xcode Build Flags
+
+If you have a custom situation where you need to pass additional build flags to Xcode -- you would use one or more `--buildFlag` options to pass these flags to `xcodebuild`. If you use an `xcodebuild` built-in flag, it will show a warning.
+
+    cordova build --device --buildFlag="MYSETTING=myvalue" --buildFlag="MY_OTHER_SETTING=othervalue"
+    cordova run --device --buildFlag="DEVELOPMENT_TEAM=FG35JLLMXX4A" --buildFlag="-scheme TestSchemeFlag"
+
 ## Debugging
 
 For details on the debugging tools that come with Xcode, see this [article](https://developer.apple.com/support/debugging)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org