Skip to content

Release v2.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 07:16

What's Changed

One command for your Mac: axe remote

Everything the AXe Mirror app does with your Mac now lives under axe remote, because it is no longer only mirroring: the same pairing puts your simulators and your builds on your phone.

axe remote pair                      # once: show a code for the app to scan or type
axe remote                           # start the host: simulators and builds for paired devices
axe remote mirror --udid "$UDID"     # start it on one booted simulator only
axe remote devices                   # the paired devices; unpair removes one
axe remote build                     # build an app and offer it to install; also publish and builds

The axe mirror commands from AXe 2.1 still run, so scripts keep working; help and documentation now use the new names. axe mirror viewers is axe remote devices, and its --json output is unchanged.

Your simulators, from your phone

The host no longer needs a simulator named. Start axe remote and the AXe Mirror app opens your Mac on a menu: open any of the Mac's iPhone and iPad simulators, boot one that is shut down, or create a new one from a device and an installed iOS version. From the app you can also shut a simulator down, restart one that has stopped responding, delete one, and copy its UDID to paste into a command or an agent.

axe remote pair     # once: show a code for the app to scan or type
axe remote          # host; choose, boot or create the simulator in the app

Every paired device can now be connected at once. Each has its own simulator and picture, and people looking at the same simulator can all touch it. Before, a second device took the first one's place and the two kept dropping each other. axe remote mirror --udid <UDID> still hosts one simulator, as before. This needs version 1.2 of the app. See Mirror.

Install your builds on your own iPhone or iPad

A build made on your Mac can now reach the phone in your hand with nothing but the pairing: no TestFlight, cable, VPN or server.

axe remote build --project App.xcodeproj --scheme App --notes "Fixes the login screen"   # archive, export for Ad Hoc, publish
axe remote publish App.ipa --notes "Fixes the login screen"                             # an IPA you already have
axe remote builds                                                                       # what is on offer

Each build is checked before it is offered: that it is a device app signed for Ad Hoc distribution, that its profiles have not expired, and, with --device <udid>, that the device is in the profile. A build iOS would refuse is refused on the Mac, with the reason. The AXe Mirror app lists the builds under Apps with their version, time, size and notes, and Install hands the build to iOS. The first install from each Mac walks you through trusting a certificate once, with a short video that keeps playing beside Safari and Settings. axe remote builds also manages the store with --remove, --keep, --notes and --clean. See Mirror.

iPhone Duo in AXe Mirror

axe remote now hosts an iPhone Duo simulator properly. It streams whichever screen is lit, moves to the other one when the simulator folds, and sends touches to the screen you are looking at. Before, it showed the inner screen only, which stood still while the simulator was closed.

In the app, Fold turns the live picture into a 3D Duo on any iPhone or iPad: drag its halves, pinch or spread two fingers, or use Closed, Half open and Open, and the simulator's hinge follows. On an iPhone Duo of your own held partly folded, the app puts the picture on one half and its controls on the other, with a trackpad when the device stands like a laptop.

Faster taps, keys and typing

Input on a simulator is quicker, most of all typing. Measured on iOS 27.3 simulators:

Action v2.1.0 Now
Tap, on a simulator not shown in Device Hub 0.24 s 0.08 s
One key 0.28 s 0.11 s
type, 30 characters 1.05 s 0.13 s
button home 0.75 s 0.08 s
type --agent --focus, a few words 3.8 s 1.7 s
type --agent --focus, 256 characters failed after about 84 4.5 s

Plain type now returns as soon as the keys are sent. iOS takes about 6 ms a character to show them, so after a few hundred characters the text can still be arriving for a moment when the command returns. Agent type waits for the text and returns the screen with it. The first input command after a simulator boots takes up to about 0.6 s longer, once.

Added

  • tap --semantic-press now presses a native Button as well as a CheckBox, on a simulator. It presses the control through accessibility, as VoiceOver does, with no touch. It is for a row that an app exposes as one button with its real action on a small button at one edge, where a tap at the centre lands on empty space. A button has nothing to read back, so success, buttonPressAccepted, means the app took the press; the receipt's new targetRole says which kind was pressed (#105 by @handstandsam).
  • tap --agent --semantic-press does the same from agent mode, by --ref or exact --id, and returns the new screen. The AXe skill now tells an agent when to use it: after a tap that succeeded and left the screen unchanged. The control needs an accessibility ID. Agent replies can carry the new action kind press.
  • axe remote notices when the simulator on screen stops responding, and when the Mac itself is overloaded. The app says which, and offers Restart for a simulator that will not answer; the host never restarts one by itself.
  • The AXe Mirror app has a Rotate button, and axe remote streams a simulator turned to landscape upright and wide, where it showed the interface on its side.
  • The AXe Mirror app has an Info sheet for the simulator on screen (device, iOS version and build, screen size, ID, and how a Duo is folded), shows the simulator's name where it showed the Mac's, and refreshes its lists when you pull them down.
  • axe remote prints new events for scripts that read its output: simulatorCreated, simulatorSelected, simulatorReleased, simulatorShutDown, simulatorDeleted, simulatorRestarting, rotated, screenChanged, folded, unresponsive, responsive, macBusy, macNotBusy, buildsChanged, installRequested and unpaired. An event caused by a viewer carries viewer and viewerName.

Changed

  • axe remote mirror --demo now needs --demo-app, so a public demo host always keeps its visitors inside one app.
  • Swipes, scroll and edge gestures move the finger at least every 20 ms, as a real finger does, where they moved only every --delta points (50 by default). The path, duration and speed are the same; --delta is now the largest gap between samples.
  • Agent typing checks that the field still has focus before the first key, after Return, Tab, a shortcut or a delay, and every 16th key otherwise, where it checked before every key. If focus moves in the middle of plain text, typing now stops within 16 keys instead of at the next one.
  • The AXe Mirror app puts its controls wherever they leave the biggest picture, has layouts of its own for wide screens, and lists each paired Mac with a Connect button.
  • axe remote features that are new in this release need version 1.2 of the AXe Mirror app. An older app gets no picture from a host started without --udid, and the host prints a viewerTooOld warning.
  • axe type --help and the --agent help now say what agent mode checks and returns.

Fixed

  • AXe now works on a Mac that has only Xcode 26. Agent mode, axe displays, --input-mode selected and the pinch, rotate, double-tap and two-finger gestures failed there at once with observationFailed, readFailed or inputUnavailable (#101).
  • On the outer screen of an iPhone Duo simulator with iOS 27.3, a swipe scrolled less than asked and an agent swipe scrolled nothing.
  • An agent type of more than about 100 characters no longer fails partway with nativeActionFailed, leaving the rest untyped.
  • Agent focus-and-type no longer loses about a second when the keyboard scrolls the field it has just tapped into place.
  • axe remote unpair now takes a connected device's access away at once. A removed device used to keep the session it had open until its connection happened to drop.
  • A device can now be paired when it and the Mac have picked different relays, or when the Mac was started with --relay-url. A correct code no longer finds "no Mac".
  • axe remote now stops with an error when it cannot listen for viewers, warns with relayUnreachable when no relay answers, and refuses a --relay-url that is not an address, where it carried on in silence.
  • axe remote no longer leaves the app showing an old picture while touches land on the real one, and no longer leaves a viewer with video and no touches until the host is restarted.
  • A viewer can no longer make an axe remote host hold touches without limit, and a demo host's visitor can no longer keep the demo by connecting again or take it from the visitor who came after.
  • axe remote no longer crashes when an iPhone Duo's outer screen goes away as it opens, keeps working when Xcode is updated or switched while it runs, and stops cleanly when its terminal is closed, so the app is told at once.
  • axe remote prints each event as one whole line when several viewers' events come at once, and lists two devices with the same name apart ("iPhone", "iPhone 2").
  • An idle axe remote host uses 0.1% of a core with no viewer connected, where it used 0.4%.
  • The AXe Mirror app shows a problem in plain words with the one thing you can do about it, where it showed the Mac's own error text; notices within 15 seconds when the Mac has gone quiet, where it could look connected for minutes; and says a device is not paired when the Mac says so, where it said the Mac was unreachable.

Various other internal improvements to stability, performance, and code quality.


Installation

Homebrew

brew tap cameroncooke/axe
brew install axe

Manual

Download AXe-macOS-v2.2.0-universal.tar.gz from the assets below and extract it.

Keep the extracted payload together:

axe
Frameworks/
AXe_AXe.bundle/

Then either run ./axe from the extracted directory or symlink that axe executable onto your PATH without moving it away from Frameworks/ and AXe_AXe.bundle/.