From: Burcu Dogan Date: Mon, 4 May 2015 16:41:41 +0000 (-0400) Subject: misc/ios: document the external binary and the required env variables X-Git-Tag: go1.5beta1~303 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=032811e2ab7359819ddf9df40c06a1d5d673ba6d;p=gostls13.git misc/ios: document the external binary and the required env variables Change-Id: I1ec2460758b19e5315be061033c1bb5ed9ead4a8 Reviewed-on: https://go-review.googlesource.com/9688 Reviewed-by: Minux Ma --- diff --git a/misc/ios/detect.go b/misc/ios/detect.go index 54493e0abc..d305458108 100644 --- a/misc/ios/detect.go +++ b/misc/ios/detect.go @@ -7,6 +7,9 @@ // detect attempts to autodetect the correct // values of the environment variables // used by go_darwin_arm_exec. +// detect shells out to ideviceinfo, a third party program that can +// be obtained by following the instructions at +// https://github.com/libimobiledevice/libimobiledevice. package main import ( diff --git a/misc/ios/go_darwin_arm_exec.go b/misc/ios/go_darwin_arm_exec.go index 402de3a574..debd2cdb30 100644 --- a/misc/ios/go_darwin_arm_exec.go +++ b/misc/ios/go_darwin_arm_exec.go @@ -59,8 +59,15 @@ func main() { log.Fatal("usage: go_darwin_arm_exec a.out") } + // e.g. B393DDEB490947F5A463FD074299B6C0AXXXXXXX devID = getenv("GOIOS_DEV_ID") + + // e.g. Z8B3JBXXXX.org.golang.sample, Z8B3JBXXXX prefix is available at + // https://developer.apple.com/membercenter/index.action#accountSummary as Team ID. appID = getenv("GOIOS_APP_ID") + + // e.g. Z8B3JBXXXX, available at + // https://developer.apple.com/membercenter/index.action#accountSummary as Team ID. teamID = getenv("GOIOS_TEAM_ID") var err error