cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhi...@apache.org
Subject docs commit: CB-8485 Documenting the support to sign iOS app
Date Mon, 04 May 2015 17:42:27 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master f8236fcf3 -> da177f8be


CB-8485 Documenting the support to sign iOS app


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

Branch: refs/heads/master
Commit: da177f8be53dbc543e7411f12f400db2219a5213
Parents: f8236fc
Author: Nikhil Khandelwal <nikhilkh@microsoft.com>
Authored: Thu Apr 23 15:00:16 2015 -0700
Committer: Nikhil Khandelwal <nikhilkh@microsoft.com>
Committed: Fri May 1 12:42:41 2015 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/platforms/ios/tools.md | 34 +++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/da177f8b/docs/en/edge/guide/platforms/ios/tools.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/ios/tools.md b/docs/en/edge/guide/platforms/ios/tools.md
index df1c672..a0042c1 100644
--- a/docs/en/edge/guide/platforms/ios/tools.md
+++ b/docs/en/edge/guide/platforms/ios/tools.md
@@ -62,11 +62,37 @@ name.
 
         $ /path/to/my_new_project/cordova/run --device
 
-## Releasing
+## Signing the App
 
-        $ /path/to/my_new_project/cordova/build --release
-        
-(modify the `cordova/build-release.xcconfig` file for your Code Signing identity)
+You can learn more about signing, distributing iOS apps, creating a certificate and provisioning
profile on the [iOS Developer Library](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html).
+
+To sign the app in Cordova you need the following:
+* Code signing identity (`--codeSignIdentity`): [Using XCode](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW6)
you can create a new iOS signing identity and add it to your keychain. The type of of the
code signing identity - typically distribution or development, needs to be specified here.
+
+* Provisioning profile (`--provisioningProfile`):  [Using the Apple Member Center](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingProfiles/MaintainingProfiles.html#//apple_ref/doc/uid/TP40012582-CH30-SW61)
you can create a provisioning profile. Download the provisioning profile onto your machine
and launch it in XCode to register it. It is copied here on your Mac: ~/Library/MobileDevice/Provisioning\
Profiles/. Opening it in a text editor, you can find the UUID which needs to be specified
here.
+
+* Code signing resource rules(`--codeSignResourceRules`) (Optional): Allows you to specify
custom signing resource rules.
+
+These parameters can be specified using the command line arguments above to `build` or `run`
scripts:
+
+        $ /path/to/my_new_project/cordova/build --codeSignIdentitiy="iPhone Distribtion"
--provisioningProfile="926c2bd6-8de9-4c2f-8407-1016d2d12954" 
+
+Alternatively, you could specify them in a build configuration file (build.json) using (`--buildConfig`)
argument. Here's a sample of a build configuration file:
+
+    {
+         "ios": {
+             "debug": {
+                 "codeSignIdentitiy": "iPhone Development",
+                 "provisioningProfile": "926c2bd6-8de9-4c2f-8407-1016d2d12954",
+             },
+             "release": {
+                 "codeSignIdentitiy": "iPhone Distribution"
+                 "provisioningProfile": "70f699ad-faf1-4adE-8fea-9d84738fb306",
+             }
+         }
+     }
+
+There is also support to mix and match command line arguments and parameters in build.json
file. Values from the command line arguments will get precedence. 
 
 ## Logging
 


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


Mime
View raw message