SwiftTerm 2 no longer exposes the underlying Terminal from TerminalView, so move the terminal views to the copied view APIs: terminalDimensions, resize(cols:rows:), setCursorStyle, softReset and resetToInitialState. The view's resize also soft resets the terminal now, so only call it when the saved size differs, otherwise every resume would reset the guest's modes. Track SwiftTerm from the osy/SwiftTerm fork's fix/visionos-build branch for now: upstream main reads UIWindow.screen, which does not exist on visionOS, and the fork reads the display scale from the trait collection instead so the visionOS build works again. SwiftTerm now ships a build tool plugin, which needs two changes to build_utm.sh for CI. Xcode refuses to run a package plugin the machine has not trusted, so pass -skipPackagePluginValidation. And -sdk also applies to host tools, so the plugin's generator was built for the target platform instead of the Mac and the build could not find it; pick the platform with a generic destination and the architectures with ARCHS instead. Also match the SDK name macosx when picking the default macOS scheme. Take advantage of what the update brings: - Render with Metal on macOS and iOS, falling back to Core Graphics if the GPU pipeline cannot be created. visionOS stays on Core Graphics because SwiftTerm's Metal path draws at the wrong scale there. - Release the renderer with updateUiClosed() when the terminal window closes or the iOS view is dismantled, as SwiftTerm now requires. - Feed guest output straight from the serial port thread; feed() is thread-safe now, so the hop to the main queue is no longer needed. - Add the standard Edit > Find menu on macOS, which the terminal's new find bar is driven from. - Open only http(s) links from the terminal. SwiftTerm now also turns host file paths printed by the guest into links, and its default handler on macOS opens any URL or existing host path, so clicking one could launch a host app. On iOS, let the bell use SwiftTerm's default haptic instead of an empty override. Assisted-by: Claude:claude-opus-5 Assisted-by: Claude:claude-opus-5-5
UTM
It is possible to invent a single machine which can be used to compute any computable sequence.
-- Alan Turing, 1936
UTM is a full featured system emulator and virtual machine host for iOS and macOS. It is based off of QEMU. In short, it allows you to run Windows, Linux, and more on your Mac, iPhone, and iPad. More information at https://getutm.app/ and https://mac.getutm.app/
Features
- Full system emulation (MMU, devices, etc) using QEMU
- 30+ processors supported including x86_64, ARM64, and RISC-V
- VGA graphics mode using SPICE and QXL
- Text terminal mode
- USB devices
- JIT based acceleration using QEMU TCG
- Frontend designed from scratch for macOS 11 and iOS 11+ using the latest and greatest APIs
- Create, manage, run VMs directly from your device
Additional macOS Features
- Hardware accelerated virtualization using Hypervisor.framework and QEMU
- Boot macOS guests with Virtualization.framework on macOS 12+
UTM SE
UTM/QEMU requires dynamic code generation (JIT) for maximum performance. JIT on iOS devices require either a jailbroken device, or one of the various workarounds found for specific versions of iOS (see "Install" for more details).
UTM SE ("slow edition") uses a threaded interpreter which performs better than a traditional interpreter but still slower than JIT. This technique is similar to what iSH does for dynamic execution. As a result, UTM SE does not require jailbreaking or any JIT workarounds and can be sideloaded as a regular app.
To optimize for size and build times, only the following architectures are included in UTM SE: ARM, PPC, RISC-V, and x86 (all with both 32-bit and 64-bit variants).
Install
UTM (SE) for iOS: https://getutm.app/install/
UTM is also available for macOS: https://mac.getutm.app/
Development
macOS Development
iOS Development
Related
- iSH: emulates a usermode Linux terminal interface for running x86 Linux applications on iOS
- a-shell: packages common Unix commands and utilities built natively for iOS and accessible through a terminal interface
License
UTM is distributed under the permissive Apache 2.0 license. However, it uses several (L)GPL components. Most are dynamically linked but the gstreamer plugins are statically linked and parts of the code are taken from qemu. Please be aware of this if you intend on redistributing this application.
Some icons made by Freepik from www.flaticon.com.
Additionally, UTM frontend depends on the following MIT/BSD License components:
Continuous integration hosting is provided by MacStadium


