文件名称:gidevice:与使用Golang实现的iOS设备通信
文件大小:62KB
文件格式:ZIP
更新时间:2024-05-06 04:56:35
golang ios xcode iphone xctest
Golang-iDevice 安装 go get github.com/electricbubble/gidevice 设备 package main import ( giDevice "github.com/electricbubble/gidevice" "log" ) func main () { usbmux , err := giDevice . NewUsbmux () if err != nil { log . Fatalln ( err ) } devices , err := usbmux . Devices () if err != nil { log . Fatal ( err ) } for _ , dev := range devices { log . Println ( dev . Properties (). SerialNu