Commit 032811e2 authored by Burcu Dogan's avatar Burcu Dogan

misc/ios: document the external binary and the required env variables

Change-Id: I1ec2460758b19e5315be061033c1bb5ed9ead4a8
Reviewed-on: https://go-review.googlesource.com/9688Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 442959ec
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
// detect attempts to autodetect the correct // detect attempts to autodetect the correct
// values of the environment variables // values of the environment variables
// used by go_darwin_arm_exec. // 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 package main
import ( import (
......
...@@ -59,8 +59,15 @@ func main() { ...@@ -59,8 +59,15 @@ func main() {
log.Fatal("usage: go_darwin_arm_exec a.out") log.Fatal("usage: go_darwin_arm_exec a.out")
} }
// e.g. B393DDEB490947F5A463FD074299B6C0AXXXXXXX
devID = getenv("GOIOS_DEV_ID") 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") 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") teamID = getenv("GOIOS_TEAM_ID")
var err error var err error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment