Repository navigation
chore(device): bump idevice to v0.1.68-4 and adopt ProcessControlClient::launch_with_options - #286
Merged
Merged
Conversation
…nt::launch_with_options Bumps `[patch.crates-io].idevice` to `Derrors/idevice` `v0.1.68-4` (`f908ecd`) and adopts the newly exposed DVT APIs in `ictl-device`: - Replace hand-rolled `com.apple.instruments.server.services.processcontrol` channel setup, `AuxValue` packing, and manual `NSCode` probing in `Tunnel::launch_in_background` with `ProcessControlClient::launch_with_options`. - Handle `DvtError::LaunchFailed(NsErrorInfo)` cleanly in `DeviceError::LaunchRefused`, preserving the numeric `NSError code` while also surfacing decoded domain and localized description when present (with unit test coverage). - Keep `ictl-ax::dtx` as a thin raw frame reader (required for raw wire channels, 64-way coalesced batch writes, and avoiding redundant `ns_keyed_archive` decoding on hot `remoteAXService` frames) and refresh its stale module comment. - Sync `v0.1.68-4` references across `THIRD_PARTY.md`, `docs/`, and crate-deps SVGs. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[patch.crates-io].ideviceinCargo.tomlandCargo.lock(single-line lock diff) toDerrors/idevicetagv0.1.68-4(f908ecd, PR feat(dvt): relax payload decode, expose launch_with_options, and grow large reads incrementally (F2) idevice#7).Tunnel::launch_in_background(crates/ictl-device/src/lib.rs) ontoProcessControlClient::launch_with_options, removing hand-rolledprocesscontrolmake_channel/call_method/AuxValueboilerplate and manualNSCodedigging.IdeviceError::Dvt(DvtError::LaunchFailed(NsErrorInfo))toDeviceError::LaunchRefused(String)viaformat_launch_error, keepingNSError code Nwhile surfacing decodedNSErrordomain/description (tested inlaunch_refused_formats_structured_ns_error_info).ictl-ax/src/dtx.rsintentionally separate fromMessage::from_reader(raw wire channel withoutRemoteServerClienteven-conversation negation, 64-way coalescedwrite_all, and avoiding redundantns_keyed_archivedecode on hot AX frames) and updates its stale module comment.v0.1.68-4acrossTHIRD_PARTY.md,docs/architecture.md,docs/decisions.md,docs/licensing.md,docs/dev/wifi.md, anddocs/images/arch-crate-deps-{light,dark}.svg.Test plan
cargo fmt -p "$p" -- --check(all 16 workspace crates)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings(0 warnings in workspace crates)RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features --no-deps --locked(and--document-private-items)cargo test --workspace --all-features --locked(1023 passed / 0 failed / 2 ignored)cargo check --workspace --all-targets --all-features --lockednode --test tests/viewer/*.test.mjs(59/59)python3 tests/check_regression_cases.py(318 cases, 567 names, 0 missing)python3 -m unittest discover -s tests/device -p 'test_*.py'(21/21)launch_in_backgroundviaProcessControlClient::launch_with_optionson iPad / WDA path) and iOS 27 native flow smoke🤖 Generated with Claude Code