From 4e5029744d5adc542857ca506607e2135d288e57 Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Thu, 7 Dec 2017 15:16:10 -0500 Subject: 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 Reviewed-by: Mike Klein --- site/user/build.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'site') 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 ------- -- cgit v1.2.3