]> Cypherpunks repositories - gostls13.git/commit
misc/ios: include the bundle id in the GOIOS_APP_ID env variable
authorElias Naur <elias.naur@gmail.com>
Wed, 1 Feb 2017 08:37:47 +0000 (09:37 +0100)
committerElias Naur <elias.naur@gmail.com>
Wed, 1 Feb 2017 22:09:16 +0000 (22:09 +0000)
commit7d889af26d40a6d81e668c9780086e8c8ef14ceb
tree39d61115cfbf7da7989ee78430ea29570087367a
parentade6bcf1d5d0fdddb7ce779e7aa3f1479e1e77a3
misc/ios: include the bundle id in the GOIOS_APP_ID env variable

The iOS exec wrapper use the constant bundle id "golang.gotest" for
running Go programs on iOS. However, that only happens to work on
the old iOS builders where their provisioning profile covers
that bundle id.

Expand the detection script to list all available provisioning
profiles for the attached device and include the bundle id in the
GOIOS_APP_ID environment variable.

To allow the old builders to continue, the "golang.gotest" bundle
id is used as a fallback if only the app id prefix is specified in
GOIOS_APP_ID.

For the new builders.

Change-Id: I8baa1d4d57f845de851c3fad3f178e05e9a01b17
Reviewed-on: https://go-review.googlesource.com/36060
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/ios/detect.go
misc/ios/go_darwin_arm_exec.go