Repository: cordova-docs
Updated Branches:
  refs/heads/master 2072aae5e -> a98e82f3c


CB-12127 - Add buildFlag support in build.json

 This closes #662


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

Branch: refs/heads/master
Commit: a98e82f3c54d3741ce23d77004e992f00f368ac9
Parents: 2072aae
Author: Shazron Abdullah <[email protected]>
Authored: Wed Nov 9 17:45:33 2016 -0800
Committer: Shazron Abdullah <[email protected]>
Committed: Fri Dec 2 17:22:36 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a98e82f3/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 b0551a8..9bd8bc1 100644
--- a/www/docs/en/dev/guide/platforms/ios/index.md
+++ b/www/docs/en/dev/guide/platforms/ios/index.md
@@ -175,12 +175,22 @@ Xcode 8 and iOS 10:
         "debug": {
             "codeSignIdentity": "iPhone Developer",
             "developmentTeam": "FG35JLLMXX4A",
-            "packageType": "development"
+            "packageType": "development",
+            "buildFlag": [
+                "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES", 
+                "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO", 
+                "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
+            ]
         },
         "release": {
             "codeSignIdentity": "iPhone Developer",
             "developmentTeam": "FG35JLLMXX4A",
-            "packageType": "app-store"
+            "packageType": "app-store",
+            "buildFlag": [
+                "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES", 
+                "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO", 
+                "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
+            ]
         }
     }
 }
@@ -209,7 +219,7 @@ Earlier versions:
 
 ## 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.
+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. You can also specify a `buildFlag` option in `build.json` above (the 
value for the `buildFlag` key is a string or an array of strings).
 
     cordova build --device --buildFlag="MYSETTING=myvalue" 
--buildFlag="MY_OTHER_SETTING=othervalue"
     cordova run --device --buildFlag="DEVELOPMENT_TEAM=FG35JLLMXX4A" 
--buildFlag="-scheme TestSchemeFlag"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to