Troubleshooting
Recover from the reported state, without blindly replaying device input.
Common problems
Missing CLI
iphone-use: command not found
Check installation and the client’s PATH; restart the client. A plugin does not include the executable.
Missing skill
Plugin installed, skill missing
Enable the plugin, use its namespaced invocation and start a new session. Refresh both marketplace and installed plugin when updating.
Setup required
setup_required / setup_update_required
Only in Runner mode, run the indicated setup command with the release CLI, then connect again.
Signing mismatch
profile_not_found / signing mismatch
Check the profile, certificate and private key, device, team and bundle ID. Pass the matching signing options.
CoreDevice timeout
coredevice_initialization_timeout
Compare one read-only devices call in an approved local host context. A sandbox timeout does not prove that the phone is disconnected. Do not disable the sandbox globally or repeatedly reset services.
Device trust
Locked phone / trust incomplete
Unlock the iPhone and complete trust and Developer Mode dialogs before reconnecting.
Changed screen
screen_changed / not_dispatched
Read the error and requiresObservation. Acquire fresh references when requested; do not increase thresholds just to bypass the rejection.
Uncertain input
unknown
Input may have happened. Observe and read the PNG before choosing the next action.
Observation failed
Action succeeded, observation failed
Preserve action.outcome and recover with observe. Repeating input does not repair a screenshot read.
native_media_busy
End Device Hub or the other client’s control session, then follow the returned recovery and observe again. Do not stop foreign sessions or replay unknown input.
Runner text input
With CLI 0.4.0, replacement requires explicit focus, verified selection, clear and literal insertion. Runner replace/append modes are rejected. Follow the step-by-step workflow and refresh the target reference after each observation. If focus, selection, caret position or clearing cannot be verified, stop. clear_value_unavailable means the field value could not be read before clearing; do not turn it into a blind Delete. An acknowledged event with unconfirmed verification must not be replayed.
For setup_update_required after upgrading, disconnect the old host, run setup with the new complete package and reconnect. Update the client plugin/skill separately and begin a new agent session.
Preview is blank or the URL changed
Disconnect intentionally clears preview frames. Reconnect and explicitly enable preview to reuse the existing tab; opening the viewer alone does not start a new preview. Browser traffic does not extend the device session’s idle timeout. A revoked URL must be replaced after explicitly stopping and starting preview. Disconnect and preview --stop do not revoke a stable URL; use preview-revoke when access must be withdrawn.
Client errors before device control
If the client cannot read its configuration, fix that mismatch first without replacing the full configuration with a sample. A selected model requiring a newer client is also a client-version issue: update through the client’s installation method or select a supported model.
Report a reproducible issue
Ask the agent to disconnect its session if possible. Record the command, error, what was verified and what remains uncertain. Include client, CLI, Xcode, macOS and iOS versions.
Keep device identifiers, private screenshots, logs and provisioning profiles out of public reports. Then open an issue on GitHub.