]> Cypherpunks.ru repositories - gostls13.git/commitdiff
misc/ios: document the external binary and the required env variables
authorBurcu Dogan <jbd@google.com>
Mon, 4 May 2015 16:41:41 +0000 (12:41 -0400)
committerBurcu Dogan <jbd@google.com>
Tue, 9 Jun 2015 22:09:52 +0000 (22:09 +0000)
Change-Id: I1ec2460758b19e5315be061033c1bb5ed9ead4a8
Reviewed-on: https://go-review.googlesource.com/9688
Reviewed-by: Minux Ma <minux@golang.org>
misc/ios/detect.go
misc/ios/go_darwin_arm_exec.go

index 54493e0abccfbd4edde2dde9339ce1164c965175..d3054581083161b794009f65057be711ffe5d694 100644 (file)
@@ -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 (
index 402de3a5744353b93021af8a51f1b22e6fabc936..debd2cdb3062bb94c97689bee497db28fadafdd2 100644 (file)
@@ -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