Skip to content

pymobiledevice3 amfi

Manage Developer Mode and trust of developer app signers (AMFI).

reveal-developer-mode

Show the Developer Mode toggle in Settings > Privacy & Security.

Only reveals the switch; it does not turn Developer Mode on.

pymobiledevice3 amfi reveal-developer-mode [OPTIONS]

Options:

Option Description
--remotepairing Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_.plist), required when there are several. Implies --userspace; mutually exclusive with --rsd/--tunnel/--native. [env var: PYMOBILEDEVICE3_REMOTEPAIRING]
--native macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE]
--mobdev2-host HOSTNAME Connect over mobdev2 to the device at this hostname or IP address, without browsing for it.

Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.

enable-developer-mode

Enable Developer Mode (restarts the device).

Does nothing if Developer Mode is already on. Otherwise the device restarts; this command waits for it to reconnect and confirms the post-restart prompt for you. Fails if the device has a passcode set: in that case enable it manually in Settings > Privacy & Security > Developer Mode.

pymobiledevice3 amfi enable-developer-mode [OPTIONS]

Options:

Option Description
--remotepairing Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_.plist), required when there are several. Implies --userspace; mutually exclusive with --rsd/--tunnel/--native. [env var: PYMOBILEDEVICE3_REMOTEPAIRING]
--native macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE]
--mobdev2-host HOSTNAME Connect over mobdev2 to the device at this hostname or IP address, without browsing for it.

Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.

developer-mode-status

Print whether Developer Mode is enabled (true/false).

pymobiledevice3 amfi developer-mode-status [OPTIONS]

Options:

Option Description
--remotepairing Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_.plist), required when there are several. Implies --userspace; mutually exclusive with --rsd/--tunnel/--native. [env var: PYMOBILEDEVICE3_REMOTEPAIRING]
--native macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE]
--mobdev2-host HOSTNAME Connect over mobdev2 to the device at this hostname or IP address, without browsing for it.

Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.

trust-app-signer

Trust the developer app signer of an installed provisioning profile.

Same as tapping "Trust" under Settings > General > VPN & Device Management. Find the UUID with provision list.

pymobiledevice3 amfi trust-app-signer [OPTIONS] {profile_uuid}

Arguments:

Argument Description
profile_uuid <str> UUID of the installed provisioning profile [required]

Options:

Option Description
--remotepairing Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_.plist), required when there are several. Implies --userspace; mutually exclusive with --rsd/--tunnel/--native. [env var: PYMOBILEDEVICE3_REMOTEPAIRING]
--native macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE]
--mobdev2-host HOSTNAME Connect over mobdev2 to the device at this hostname or IP address, without browsing for it.

Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.