]> Cypherpunks repositories - gostls13.git/commit
misc/ios: improve detection of missing developer image
authorElias Naur <elias.naur@gmail.com>
Thu, 3 May 2018 11:43:52 +0000 (13:43 +0200)
committerElias Naur <elias.naur@gmail.com>
Fri, 4 May 2018 05:47:22 +0000 (05:47 +0000)
commit164718ae2a35d368bf5611bf77c0e8ca1c8ab6a5
treeff18ad13fa858fb2ffd34221bbccb7ae97c0a7b7
parent8c62fc0ca3c96ecbd3a6e81546aa8c53e32ff500
misc/ios: improve detection of missing developer image

It turns out that a non-empty result from ideviceimagemounter does
not mean an image is mounted. Use ideviceimagemounter's xml output
mode to improve the check.

Also, iOS versions are reported as major.minor or major.minor.patch.
Developer images are only specific to major.minor version, so cut
off the patch number in the search, if present.

Change-Id: Ia182e6f4655b7e6aa6feb8005cd3b533535b73cd
Reviewed-on: https://go-review.googlesource.com/111235
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
misc/ios/go_darwin_arm_exec.go