Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadImageFor ¶
func DownloadImageFor(device ios.DeviceEntry, baseDir string) (string, error)
func FixDevImage ¶ added in v1.0.38
func FixDevImage(device ios.DeviceEntry, baseDir string) error
FixDevImage checks if a dev image is already installed and does nothing in that case. Otherwise it looks for the image for the device version in baseDir. If it is not present it will download it from github and install.
func MatchAvailable ¶ added in v1.0.38
func MountImage ¶ added in v1.0.38
func MountImage(device ios.DeviceEntry, path string) error
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection to mobile image mounter
func New ¶
func New(device ios.DeviceEntry) (*Connection, error)
New returns a new mobile image mounter Connection for the given DeviceID and Udid
func (*Connection) Close ¶
func (conn *Connection) Close()
Close closes the underlying UsbMuxConnection
func (*Connection) ListImages ¶
func (conn *Connection) ListImages() ([][]byte, error)
ListImages returns a list with signatures of installed developer images
func (*Connection) MountImage ¶
func (conn *Connection) MountImage(imagePath string) error
MountImage installs a .dmg image from imagePath after checking that it is present and valid.
Click to show internal directories.
Click to hide internal directories.