Is your feature request related to a problem? Please describe.
objection has no way to attach to apps running in an iOS Simulator. The Simulator is exposed by Frida as a local device (no USB and no frida-server are required) but objection always defaults to device_type='usb'. Running objection -n MASTestApp start against a Simulator process fails with Unable to find a device, even though Frida itself can attach without issue (frida -n MASTestApp works out of the box).
Describe the solution you'd like
A top-level --local / -L flag that tells objection to target the Frida local device instead of a USB or network device:
objection -L -n MASTestApp start
This mirrors the existing --network / -N flag and requires no frida-server on the Simulator or on the host.
Describe alternatives you've considered
Using --serial with the simulator device id: Frida doesn't expose simulator devices that way; they appear only as the single local device.
Additional context
Tested with Frida 17.5.1 and the MASTestApp iOS Simulator target on macOS. frida-ps shows simulator processes alongside native macOS ones when no USB device is connected. The fix is small: a new use_local() connection mode.
Is your feature request related to a problem? Please describe.
objection has no way to attach to apps running in an iOS Simulator. The Simulator is exposed by Frida as a
localdevice (no USB and nofrida-serverare required) but objection always defaults todevice_type='usb'. Runningobjection -n MASTestApp startagainst a Simulator process fails withUnable to find a device, even though Frida itself can attach without issue (frida -n MASTestAppworks out of the box).Describe the solution you'd like
A top-level
--local/-Lflag that tells objection to target the Frida local device instead of a USB or network device:This mirrors the existing
--network/-Nflag and requires no frida-server on the Simulator or on the host.Describe alternatives you've considered
Using
--serialwith the simulator device id: Frida doesn't expose simulator devices that way; they appear only as the singlelocaldevice.Additional context
Tested with Frida 17.5.1 and the MASTestApp iOS Simulator target on macOS.
frida-psshows simulator processes alongside native macOS ones when no USB device is connected. The fix is small: a newuse_local()connection mode.