diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-12-07 15:16:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-07 20:42:00 +0000 |
commit | 4e5029744d5adc542857ca506607e2135d288e57 (patch) | |
tree | e4b224b92166aefa01edb4c1603b578bbfbc3738 /site/user/build.md | |
parent | c96f9b5c14de217d40cd2648639328ed86fff089 (diff) |
Allow different identities for iOS code signing
Docs-Preview: https://skia.org/?cl=81340
Bug: skia:
Change-Id: I9a0e52ba4ce3c0c4b40cc65ce6b26bd3cebdbe4d
Reviewed-on: https://skia-review.googlesource.com/81340
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'site/user/build.md')
-rw-r--r-- | site/user/build.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/site/user/build.md b/site/user/build.md index ce5edbafc3..4d5600579f 100644 --- a/site/user/build.md +++ b/site/user/build.md @@ -205,8 +205,12 @@ This defaults to `target_cpu="arm64"`. Choosing `x64` targets the iOS simulator bin/gn gen out/ios32 --args='target_os="ios" target_cpu="arm"' bin/gn gen out/iossim --args='target_os="ios" target_cpu="x64"' -This will also package (and for devices, sign) iOS test binaries. For the moment a -Google provisioning profile is needed to sign. +This will also package (and for devices, sign) iOS test binaries. This defaults to a +Google signing identity and provisioning profile. To use a different one set `skia_ios_identity` +to match your code signing identity and `skia_ios_profile` to the name of your provisioning +profile, e.g. `skia_ios_identity=".*Jane Doe.*" skia_ios_profile="iPad Profile"`. A list of +identities can be found by typing `security find-identity` on the command line. The name of the +provisioning profile should be available on the Apple Developer site. For signed packages `ios-deploy` makes installing and running them on a device easy: @@ -217,6 +221,10 @@ Alternatively you can generate an Xcode project by passing `--ide=xcode` to `bin If you find yourself missing a Google signing identity or provisioning profile, you'll want to have a read through go/appledev. +Deploying to a device with an OS older than the current SDK doesn't currently work through Xcode, +but can be done on the command line by setting the environment variable IPHONEOS_DEPLOYMENT_TARGET +to the desired OS version. + Windows ------- |