
E cores are called Efficiency cores (background tasks and energy efficient processing to optimize battery usage). P cores are called Performance cores (foreground tasks). The Apple Silicon architecture has 2 types of cores They insist a lot on choosing the right QoS for async tasks to improve user experience. One of the biggest new features pointed out by Apple is the asymmetric cores used by the M1. That also means that M1 CPU computers will actually compile and execute x86_64 AND arm64 simulator binaries DEPENDING on the simulator version you will be targeting. That means that an Intel CPU computer will keep compiling and executing x86_64 simulator binaries only. The arm64-simulator architecture being used only on the new M1 CPU and later. Up until Xcode 12 and iOS 14.x, all simulators were running as x86_64 binaries.įrom that point, NEW simulators only (>iOS 13.7) have both the so-called x86_64-simulator and arm64-simulator architectures. M1 CPU is architecture is also called “Apple Silicon” Simulators Historically, we had powerPC that were using a RISC architecture.Īnd up until the release of the M1 Chipset on computers, Apple was using the Intel x86_64 architecture. New simulators (>iOS 13.7) also have an arm64 executable. M1 compilation for recent ios simulators. This document should give you a quick snapshot of the latest mechanisms related to compilation of an iOS/Mac OS X project with a main focus on the Swift language. The goal: compiling and running an iOS app on M1 computers and ios 15 simulators.Īfter clearing out the technical differences that we encounter on M1 Computers, we will dive a little deeper into the Swift compilation process.Ĭompiling a project that can target multiple architectures is tricky. We had one goal to reach but along the way, it was also a chance to learn more about compilation for iOS.
This article provides a quick overview of the compilation process and available architectures on Xcode with one goal in mind: Get a better understanding on what it means to compile for the M1.
This brings changes at many levels but the most important for us was compilation. This new computer is not an Intel based computer anymore but an arm64-based cpu.
This year, many employees got their hands on a new M1 computer from Apple. This leads to a need to also upgrade our hardware. At Mercari, we do our best to keep our tools and libraries up to date.