Create macOS VMs for iOS CI using Apple M1 hardware

Anka 3.0 (beta) now available for Apple’s M1 hardware

We are excited to announce our Anka 3.0 beta version allowing you to create macOS VMs for iOS CI using Apple M1 hardware. This version allows you to leverage the significant performance improvements offered by this new hardware.

Anka version 3.0 uses the new virtualization framework exposed in macOS Monterey. The new virtualization framework has all the same advantages of a very robust and exhaustive CLI, orchestration, and image management features to enable the creation and management of macOS VMs in a container-like manner for iOS CI.

In the upcoming weeks, we will be sharing additional betas with bug fixes and additional features until we do a GA release. The CLI, flags, and options might change as we get closer to the GA release.

Download and Usage Instructions



Download the Anka 3.0.0 (beta) pkg

Pre-requisites:

  1. Only functional on Apple’s M1 hardware. This beta will not work on Intel chip-based hardware.
  2. You have installed Monterey macOS on the M1 host.

Usage instructions:

  1. Install the beta package using the GUI or command-line sudo installer -pkg /Users/Administrator/Desktop/XXX.pkg -tgt /
  2. To create a VM: Use the anka create command: anka create -a latest 12.0
    • We’ll automatically download the latest image from Apple and prepare the VM with it.
    • Only Monterey VMs can be created.
    • You cannot use .app installers.
  3. To start the VM: You’ll need to start the VM with anka start -uv to launch the viewer.
    • anka view does not currently work post-start unless you started it with -v.
  4. Once started, you will need to manually go through the macOS installation process. We recommend creating your first user as user: anka and password: admin as this will prevent you from having to enable autologin later on.
  5. Inside of the VM’s Finder, find the mounted Addons and install the pkg contained within.
    • Addons are not needed if you don’t plan to use anka cp or anka run

Once that’s done, you can stop the VM, clone it, and continue testing.

Watch this video to get more details on VM creation:

Things to note:

  1. There is no support yet for ankacluster and using the Anka Build Cloud Controller.
  2. VM Suspend is not available.
  3. Port forwarding is not available.
  4. Nested virtualization is not available.
  5. You don’t need to activate the license for this beta. It has a 30-day pre-activated license.

Give it a spin and share your thoughts with us and the entire user community in our slack and also on your Twitter by tagging @veertu_labs. You can find the official documentation here.

Share this post

networking-performancev1
Unlocking Superior macOS VM Network Performance: Introducing Anka's new networking mode for Apple Silicon
Large and complex enterprises using Anka have many different demands, and we have worked to continue to develop innovative technology to meet these demands. Enterprise infrastructure hardware is often on the cutting edge, and they need advanced capabilities...
Read More
gitlab-with-anka
Anka Cloud Gitlab Executor
Veertu’s Anka and the new Anka Cloud Gitlab Executor Veertu’s Anka is a suite of software tools built on the macOS virtualization platform. It enables the execution of single or multi-use macOS virtual machines (VMs) in a manner similar to Docker....
Read More
mac-scan-v1
Real-Time CVE Scanning of your macOS Build Systems
It’s common that an organization’s macOS build system will download thousands, sometimes tens of thousands of third-party dependencies every hour. When building and testing iOS applications, it typically downloads and installs third-party...
Read More
anka-on-silicon-v1
The ONLY Fully Automated Apple Silicon macOS VM Creation Solution
Starting in Anka 3.1 we announced that Anka is now able to fully automate the macOS installation processes, disabling SIP, and enabling VNC — all previously manual steps users had to perform inside o the VM. At the time of writing this article,...
Read More
anka_click
Scripting macOS UI User Actions With Anka Click
Starting in Anka 3.2, we’ve introduced a solution for scripting macOS UI user actions. You may ask, “Why would I want to do that?”. Well, often macOS configuration and applications do not have a CLI allowing you to perform certain actions...
Read More
mac-scan-fullscan-shells-v3
Real-time, continuous scan of file downloads on macOS for security vulnerabilities
Today, we are announcing the Beta availability of the Mac Scan solution. Mac Scan software runs on macOS systems (bare metal, virtual, EC2 Mac) and scans downloads in real time for security vulnerabilities. There are multiple scenarios why you would...
Read More
Screen Shot 2022-10-17 at 10.13
Anka 3.1- Fully automated VM macOS installation & The Behavior-Driven macOS UI Automation Framework
We are very happy to announce the General Availability of Anka 3.1 for Apple Silicon / ARM macs. In this release, we are taking our approach to iOS CI automation one step further by introducing a Behavior-Driven macOS UI Automation Framework in Anka,...
Read More
ankam1v2
Migrating from Anka on Intel to Anka on M1 Mac for iOS CI
In this blog, we will cover the key topics for migrating from Anka on Intel to Anka on M1/M2 Macs. Anka is an IaaC solution from Veertu to set up an agile Container like CI for iOS CI using macOS VMs. Anka for Intel uses Apple’s Hypervisor.Framework virtualization...
Read More
ami-scanner-featured-v2
World's first Security Vulnerability scanner for EC2 Mac AMIs
We are excited to announce the General Availability of the world’s first security vulnerability scanner for EC2 Mac AMIs. EC2 Mac AMI Scan scans Intel and Apple Silicon macOS EC2 AMIs, detects security vulnerabilities in third-party packages, dependencies,...
Read More
esxi-to-anka
It's time to migrate your iOS CI from ESXi Virtual Mac Infrastructure to native macOS Virtualization
When VMWare ESXi started officially supporting Apple macOS Virtualization on Mac hardware in late 2012, it opened the doors for the possibility of iOS development to move to a Linux-like, agile, scalable CI infrastructure. Soon enough, many iOS enterprise...
Read More