Questions tagged [apple-silicon]

Use this tag for questions related to Apple's ARM-based CPU found in macOS systems from 2020 onwards, known by the marketing term "Apple Silicon"

On June 22, 2020, at WWDC 2020, Apple announced plans to switch its Macintosh computers from Intel processors to ARM-based, Apple-designed processors. See: Apple-designed processors.

502 questions
6
votes
1 answer

Adding fat library to XCFramework not working in Xcode 12

Edit (2020/09/14): This appears to have been an Xcode bug that has now been fixed as of Xcode 12 beta 6. I am using Xcode 12 to build a static library, and for tvOS, Xcode 12 includes both arm64 and arm64e in the single fat library. Similarly,…
Bill Hollings
  • 2,344
  • 17
  • 25
5
votes
2 answers

Install & update a Perl module as "universal" (x86_64, arm64)?

Is is possible to install and update Perl (CPAN) modules with universal (x86_64, arm64) architecture support? If yes, then how? background On an arm-based macOS computer, a Perl CPAN module can be installed for exactly one designated architecture as…
marc-medley
  • 8,931
  • 5
  • 60
  • 66
5
votes
1 answer

Azure function not running on M1

Running import logging import azure.functions as func def main(req: func.HttpRequest) -> func.HttpResponse: logging.info('Python HTTP trigger function processed a request.') name = req.params.get('name') if not name: try: …
Zin Yosrim
  • 1,602
  • 1
  • 22
  • 40
5
votes
3 answers

mmap() RWX page on MacOS (ARM64 architecture)?

I've been trying to map a page that both writable AND executable. mov x0, 0 // start address mov x1, 4096 // length mov x2, 7 // rwx mov x3, 0x1001 // flags mov x4,…
5
votes
2 answers

How to install nvim-treesitter on Apple Silicon (M1 Max)? Getting error: Cannot install tree-sitter-cli for architecture arm64

I'm trying to set up nvim on my MBP, and everything went well except for the last step, which is installing nvim-treesitter, after a short installing routine it throws this error: nvim-treesitter[phpdoc]: Error during `npm install` (required for…
flppv
  • 4,111
  • 5
  • 35
  • 54
5
votes
1 answer

I can't install Tensorflow Model Maker on Apple Silicon

I have the Apple M1 Pro chip and cannot get my tensorflow project running. I followed the installation instructions from Apple's site. When I run pip install -r requirements.txt, all my python packages install except for tflite-model-maker. I get…
Fred
  • 381
  • 5
  • 17
5
votes
0 answers

`Error: MLIR Pass Manager Failed': TensorFlow on MacBook Pro M1 Max

I'm running Python 3.9.7 and TensorFlow 2.5 on my MacBook Pro with M1 Max chip, in a virtual environment managed through MiniForge. (Setup due to Jeff Heaton). I have a custom loss function in the model. This code runs fine on my other machine,…
kpmott
  • 51
  • 3
5
votes
1 answer

Android emulator on apple silicon (arm64) could be run only using sudo mode

I'm trying to start android emulator on apple silicon mac and I'm always getting the same results: Running emulator directly through Android Studio (the latest stable version, Arctic Fox 2020.3.1 Patch 4) causes a problem, when the process…
5
votes
0 answers

M1 Arm USB Passthrough with QEMU for Android Emulator

DESCRIBE THE ISSUE IN DETAIL: Qemu USB passthrough on M1 with Mac OS Monteray using Android Emulator. From what I've gathered it's impossible due to the lack of libusb, but even after trying to add it manually, no luck. When trying to passthrough, I…
5
votes
2 answers

Can't install pyenv 3.8.5 on MacOS Big Sur with M1 chip?

I am trying to run pyenv install 3.8.5 but keep getting the error below: python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.8.5.tar.xz... ->…
ponybear
  • 61
  • 1
  • 2
  • 4
5
votes
6 answers

How do I install the ODBC driver for Snowflake successfully on an M1 Apple Silicon Mac?

I'm having issues getting the ODBC driver for Snowflake to work on an M1 Apple Silicon Mac running Big Sur. Successfully following the instructions on Snowflake's website gets me to the point where testing the driver from the command line (using…
5
votes
1 answer

Issue compiling quarkus native image on Apple Sillicon

I tried running both Mandrel: ./mvnw package -Pnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3.2.0-Final-java11 and GraalVM version: ./mvnw package -Pnative…
5
votes
2 answers

What does platform.system() and platform.architecture() return on Apple M1 Silicon?

I don't have an M1 Mac to work with, I read that python supports it. What's the return of these functions on m1 Macs? platform.system() platform.architecture() Thanks.
5
votes
3 answers

Multiple Android Studio lockups with Apple M1 chip

I have the MacBook Pro with the new M1 chip with 8GB ram running Big Sur V11.1 and Android Studio 4.1.2. Over the course of a couple hours of work in Android Studio I can get 4 or so spinning beachballs of death where I need to do a force quit and…
Eric
  • 781
  • 1
  • 10
  • 18
5
votes
5 answers

How to fix iOS Simulator [native-run] ERR_DEVICE_LOCKED: Device still locked after 1 minute on the Apple Silicon (M1)?

Regardless of --target variable, the following commands fail: ionic cordova run ios --target="iPhone-X" ionic cordova run ios --target="iPhone 12" ionic cordova emulate ios --debug --target="iPhone 11" -- --buildFlag="-UseModernBuildSystem=0" The…