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
442
votes
40 answers

How to run CocoaPods on Apple Silicon (M1)

I have a Flutter project that I'm trying to run on iOS. It runs normally on my Intel-based Mac, but on my new Apple Silicon-based M1 Mac it fails to install pods. LoadError - dlsym(0x7f8926035eb0, Init_ffi_c): symbol not found -…
Jacobo Koenig
  • 11,728
  • 9
  • 40
  • 75
414
votes
24 answers

Docker (Apple Silicon/M1 Preview) MySQL "no matching manifest for linux/arm64/v8 in the manifest list entries"

I'm running the latest build of the Docker Apple Silicon Preview. I created the tutorial container/images and it works fine. When I went to create a custom YAML file and run docker-compose I get the following error when pulling mysql: ERROR: no…
Sam
  • 5,150
  • 4
  • 30
  • 51
275
votes
16 answers

Java/JDK for the Apple Silicon chips

Will there need to be a special release of OpenJDK to support the new Apple Silicon chips? I see that there are currently downloads of the JDK for macOS/OS X, but these seem to only be for x86 processors. Is that correct? If so, where can I download…
Thar
  • 2,956
  • 2
  • 10
  • 9
265
votes
19 answers

Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)

I use the latest Apple M1 chip processor. And I keep getting errors while application installation. say., brew install openjdk@11 Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! Please create a new…
Prashanth Sams
  • 19,677
  • 20
  • 102
  • 125
174
votes
7 answers

Forcing docker to use linux/amd64 platform by default on macOS

Current beta version of docker requires you to specify a --platform=linux/amd64 each time you need to build or run an amd64 image/container. The documentation mentions When running an image with multi-architecture support, docker will automatically…
Vojtech Letal
  • 2,168
  • 3
  • 13
  • 17
129
votes
9 answers

How to run the Homebrew installer under Rosetta 2 on M1 Macbook

I'm on the M1 MacBook. This is the error when I try to install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" Homebrew is not (yet) supported on ARM processors! Rerun the Homebrew…
Watson
  • 3,168
  • 3
  • 12
  • 13
83
votes
16 answers

Unable to find bundled Java version with flutter doctor, after updating Android studio Arctic Fox(2020.3.1) on M1 Apple Silicon

I'm facing a weird issue. Before I updated my Android Studio, everything went fine in flutter doctor. Once I've updated Android Studio, when I run the doctor, it's showing "Unable to find bundled Java version". I've already downloaded Java installer…
Mohamad Faris
  • 933
  • 1
  • 6
  • 5
77
votes
13 answers

How to install SciPy on Apple Silicon (ARM / M1)

I have successfully installed python 3.9.1 with Numpy and Matplotlib on a new Mac mini with Apple Silicon. However, I cannot install SciPy : I get compilation errors when using python3 -m pip install scipy I also tried installing everything from…
David Sénéchal
  • 937
  • 1
  • 7
  • 4
76
votes
3 answers

how to run amd64 docker images on arm64 host platform

I have an m1 mac and I am trying to run a amd64 based docker image on my arm64 based host platform. However, when I try to do so (with docker run) I get the following error: WARNING: The requested image's platform (linux/amd64) does not match the…
Sabo Boz
  • 1,683
  • 4
  • 13
  • 29
65
votes
4 answers

Detect Apple Silicon from command line

How can I detect from a shell script that it is running on M1 Apple hardware? I want to be able to run a command-line command so that I can write an if-statement whose body will only be executed when run on a mac with an M1 processor (and at least…
Klas Mellbourn
  • 42,571
  • 24
  • 140
  • 158
63
votes
8 answers

Fixing zsh command not found: brew? (installing Homebrew)

I am trying to install Homebrew onto my M1 Mac. My default shell is zsh and I want to keep it that way. I ran: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" and it said the installation was successful…
atdinh
  • 665
  • 1
  • 5
  • 5
57
votes
19 answers

Android Studio: "The emulator process for AVD Pixel_2_API_30 has terminated." on MacBook Pro M1 (Apple Silicon)

I have a problem to start an Android Emulator on my MacBook Pro M1 (Apple Silicon). When I try to start an emulator (API 30, CPU/ABI arm64), I get this error: "The emulator process for AVD Pixel_2_API_30 has terminiated." I'm using 2020.3.1 Beta 5…
Nils Reichardt
  • 3,195
  • 2
  • 18
  • 28
53
votes
1 answer

My fish is blind? (fish does not recognise any commands after setting it as default shell on Mac OS Big Sur, M1 Mac)

I installed fish with homebrew on Mac OS Big Sur, Apple Silicon. Then I added /opt/homebrew/bin/fish to /etc/shells. When I now start fish from the default shell, it recognises all commands (like git flow init). After changing the default shell with…
dusen
  • 531
  • 1
  • 4
  • 3
51
votes
8 answers

Install Node on M1 Mac

I have a new Mac with an M1 chip, and want to install Node. I used to do this with Homebrew. Now, if I install Homebrew, I'm strongly recommended to use Rosetta, so I did. Next step: installing Node. So instead of brew install node I do arch -x86_64…
Sventies
  • 2,314
  • 1
  • 28
  • 44
50
votes
7 answers

iOS Simulator scrolls too fast on Apple M1

I'm running a flutter project and when dragging any list or scroll view on the simulator, it scrolls with way too much force rendering almost impossible to get to the row I need. This only happens in the simulator, and it seems to work fine on a…
Jacobo Koenig
  • 11,728
  • 9
  • 40
  • 75
1
2 3
33 34