This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 1403cd3315 docs(ios): Improve "Using Flags" and "Using build.json" 
(#1010)
1403cd3315 is described below

commit 1403cd3315b8e8c7a6ea18699cb98dbb0a59c5de
Author: Jan Piotrowski <[email protected]>
AuthorDate: Tue Apr 25 05:43:48 2023 +0200

    docs(ios): Improve "Using Flags" and "Using build.json" (#1010)
---
 www/docs/en/dev/guide/platforms/ios/index.md | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/www/docs/en/dev/guide/platforms/ios/index.md 
b/www/docs/en/dev/guide/platforms/ios/index.md
index 15cc45a5a9..9a3d47e1aa 100644
--- a/www/docs/en/dev/guide/platforms/ios/index.md
+++ b/www/docs/en/dev/guide/platforms/ios/index.md
@@ -175,11 +175,15 @@ To sign an app, you need the following parameters:
 | Authentication Key Issuer ID | `--authenticationKeyIssuerID` | (Optional) 
The issuer ID value for the App Store Connect API credentials,for automatic 
distribution signing.
 
 
+These parameters can be specified using the command line arguments above to 
the Cordova CLI `build` or `run` commands.
+
+**Note**: You should use double `--` to indicate that these are 
platform-specific arguments, for example:
+
+`cordova run ios --release -- --codeSignIdentity="iPhone Developer" 
--developmentTeam=FG35JLLMXX4A --packageType=development`.
+
 ### Using build.json
 
-Alternatively, you could specify them in a build configuration file 
(`build.json`)
-using the `--buildConfig` argument to the same commands. Here's a sample of a
-build configuration file:
+Alternatively, you could specify these flags in a build configuration file 
(default: `build.json` or add the `--buildConfig` flag to the same commands, so 
you can also use other file names e.g. `cordova build ios 
--buildConfig=../customBuild.json`). Here's a sample of a build configuration 
file:
 
 For automatic signing, where provisioning profiles are managed automatically 
by Xcode (recommended):
 
@@ -226,6 +230,8 @@ For manual signing, specifying the provisioning profiles by 
UUID:
 }
 ```
 
+There is also support to mix and match command line arguments and parameters 
in `build.json`. Values from the command line arguments will get precedence.
+
 ## 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.


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

Reply via email to