device_helper asked AMDeviceNotificationSubscribeWithOptions for the RemoteXPC transport next to the USB mux. On macOS 27 (26A5388g) that replaces the mux transport instead of extending it: a cable-connected, paired iPhone fired no connected callback at all, only detach callbacks with a NULL device.
device_helper list therefore printed [], so the device check showed "No iPhone found. Please connect via USB." and the scanner reported "iPhone not found. Reconnect it via USB." A direct usbmuxd ListDevices call, ioreg and devicectl all listed the same device, and the same subscription without the option returned it immediately.
Move the options into Sources/device_discovery.h so the transport set is testable, and add tests/test_device_discovery.py, which fails if RemoteXPC is requested again.
Validated on macOS 27.0 (26A5388g) with an iPhone 16 Pro on iOS 27.0 (24A5370h): list, probe and syslog all reach the device. See docs/device-detection.md.
Use os_trace_relay instead of the legacy syslog_relay service, which
omits the Info/Debug resource lookups containing Wallet card paths on
iOS 18.6.2. Decode framed activity records through MobileDevice and
preserve multiline messages for the existing card filters.
Display scanner diagnostics, drain the output through EOF, and reset
scan state after helper termination. Guard late callbacks when a scan
is stopped or replaced. Add protocol regression coverage and English
troubleshooting and community testing instructions.
Verified with:
- iPhone 15 Pro (iPhone16,1), iOS 18.6.2
- MacBook Air (M3, 2024), macOS 26.6.2
- AirCard 1.2.3 source baseline 02b5ba8
Live scanning detected eight identifiers matching the reference capture.
Helper-exit recovery and scan restart passed. Five unittest cases and
the universal arm64/x86_64 app build passed. No artwork was flashed.
The originally reported macOS 26.2 and issue #28's iOS 27 were not tested.
Related to Mak5er/AirCard#28
The released app bundles no ideviceinfo or idevicesyslog, because build.sh
copies them from a hardcoded path on the author's machine behind an if-guard
that silently no-ops elsewhere. Detection therefore fails for every user while
the UI blames the cable: 'No iPhone found. Please connect via USB.'
Move discovery and log streaming onto device_helper, which already talks to
MobileDevice.framework directly, and add list/syslog commands to it. That
removes the libimobiledevice dependency the README claims does not exist, and
makes the guard in build.sh unnecessary.
Also report missing bundled tools separately from a missing device, and fail
the build if the bundle cannot talk to a device at all.