Skip to content

Releases: danielpaulus/go-ios

v1.0.85

09 Oct 09:24
797bebf
Compare
Choose a tag to compare
Fix/archiverbinfail (#183)

* added repro testcase, used string() for types as name() can be empty

* add fix for serializing arrays

v1.0.84

04 Oct 10:23
5bedc19
Compare
Choose a tag to compare
support list parameter when print apps and add get disk space info cl…

v1.0.83

02 Oct 20:10
06383c6
Compare
Choose a tag to compare
Exit with error when attempting to forward an unavailable port. (#164)

Previous code has an out-of-order error check, starting a thread and *then* returning on error.  This leads to a null-pointer panic if you attempt to forward a port that is already in use.

Please enter the commit message for your changes. Lines starting

Co-authored-by: danielpaulus <[email protected]>

v1.0.82

02 Oct 12:06
e72e44b
Compare
Choose a tag to compare
Fix image auto download path without basedir (#170)

* fix image auto without basedir

* fix info message

Co-authored-by: danielpaulus <[email protected]>

v1.0.81

02 Oct 12:05
54670c0
Compare
Choose a tag to compare
Fix build on armv7l (#174)

If we try to build on armv7l we have this error : 
ios/dtx_codec/connection.go:174:31: cannot use 4294967295 (untyped int constant) as int value in argument to dtxConn.activeChannels.Store (overflows)

v1.0.80

26 Aug 19:57
ca2f71b
Compare
Choose a tag to compare
replace haikeu repo with mspvirajpatel (#168)

the old repo wasn't well maintained and images were not working or deprecated. 
Using https://github.com/mspvirajpatel/Xcode_Developer_Disk_Images now for the `image auto` command. 

Should resolve #167 
thanks a ton people!

v1.0.79

03 Aug 20:27
904b5af
Compare
Choose a tag to compare
Add deviceinfo service info to info command (#155)

I added two new fields to the info command. The response of hardwareInformation and networkInformation from the instruments service are now in the results if a developer image is mounted.
hardWareInformation contains various cpu infos. Here is an example:
map[hwCPU64BitCapable:1 hwCPUsubtype:1 hwCPUtype:16777228 numberOfCpus:2 numberOfPhysicalCpus:2 speedOfCpus:0]

networkInformation contains a list of all network interfaces on the device. Example:
map[en0:Wi-Fi en1:Ethernet Adaptor (en1) en2:Ethernet Adaptor (en2) lo0:Loopback pdp_ip0:Cellular (pdp_ip0)
pdp_ip1:Cellular (pdp_ip1) pdp_ip2:Cellular (pdp_ip2) pdp_ip3:Cellular (pdp_ip3) pdp_ip4:Cellular (pdp_ip4)]

Those are now part of the ios info command output only if the developer image was mounted on the device.

v1.0.78

02 Aug 20:46
699df0a
Compare
Choose a tag to compare
Add ability to enable/disable AssistiveTouch soft "home" button. iOS …

v1.0.77

02 Aug 20:43
a602952
Compare
Choose a tag to compare
Add instruments device state notifications (#153)

As the first step of adding the remaining instruments features, I added listening to device state notifications. 
`ios instruments notifications [options]` will start a JSON stream of notifications that indicate when applications are opened or closed on the device. Example: 
```
{"appName":"Phone","displayID":"com.apple.mobilephone","elevated_state":2,"elevated_state_description":"Background Task Suspended","execName":"/Applications/MobilePhone.app","mach_absolute_time":2163024584939,"pid":379,"state":2,"state_description":"Background Task Suspended","timestamp":{"Timestamp":"2022-08-02T22:38:20.739+02:00"}}
```

v1.0.76

31 Jul 20:04
dc10493
Compare
Choose a tag to compare
Add command-line option to kill processes by process-name or PID (#152)

* Add command-line option to kill processes by process-name or PID

This commit also adds a "--system" option that allows built-in processes, such as com.apple.Maps, to be killed by bundleID.  (When specifying --pid or --process, there are no restrictions)

Examples of processes that one might want to kill this way:
com.apple.Maps   (using the --system option)
replayd          (when broadcast streaming becomes irrevocably hung)
assistivetouchd  (useful as a test.  If the AssistiveTouch home button is active, killing this makes the button briefly disappear, but it restarts automatically).

This commit attempts to preserve all previous behavior, but a few changes have been made:
* Some typos were corrected ("killd" -> "killed")
* Some spaces were added in log messages where variables were concatenated with no spaces
* The "kill" command now exits with a non-zero exit status for any failure to kill a process. previously log.Error() was called, followed by exit(0).  Now it should be possible to tell whether a process was actually killed based on the exit status of the application.

Note: Currently, using "--system" *prevents* killing user applications.  After PR #151, replacing a call to "BrowseSystemApps()" with the new "BrowseAllApps()" will enable killing by bundle ID without considering how the app was installed.

* Replace log.Errorf with log.Error in cases with no arguments.

* Remove artificial restrictions on "kill" command.

"kill" will now kill whatever we are asked to kill.  Previously when executed with a <bundleid> argument, the bundle had to be a user-installed bundle.

Since kill is now unrestricted, this commit drops the "--system" option added to explicitly allow killing of system processes.