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"

apple-silicon
Filter by
Sorted by
Tagged with
476 votes
25 answers
448k views

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 ...
Sam's user avatar
  • 5,780
459 votes
41 answers
528k views

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, ...
Jacobo Koenig's user avatar
294 votes
20 answers
324k views

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. I run: brew install openjdk@11 Error: Cannot install in Homebrew on ARM processor in Intel default ...
Prashanth Sams's user avatar
283 votes
17 answers
502k views

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 ...
Thar's user avatar
  • 3,036
218 votes
7 answers
280k views

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 ...
Vojtech Letal's user avatar
133 votes
9 answers
142k views

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 (...
Watson's user avatar
  • 3,300
99 votes
3 answers
124k views

How to run amd64 docker image 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 ...
Sabo Boz's user avatar
  • 2,195
87 votes
16 answers
130k views

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 ...
Mohamad Faris's user avatar
78 votes
13 answers
67k views

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 ...
David Sénéchal's user avatar
77 votes
7 answers
168k views

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/...
atdinh's user avatar
  • 805
72 votes
4 answers
37k views

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 ...
Klas Mellbourn's user avatar
62 votes
2 answers
25k views

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 ...
dusen's user avatar
  • 621
59 votes
5 answers
15k views

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 ...
Jacobo Koenig's user avatar
58 votes
21 answers
98k views

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 ...
Nils Reichardt's user avatar
54 votes
8 answers
135k views

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. ...
Sventies's user avatar
  • 2,540
52 votes
2 answers
26k views

How can I run two isolated installations of Homebrew?

I want to install and run two versions of Homebrew simultaneously on an Apple Silicon Mac: an ARM64 version, and an Intel version running under Rosetta 2. I know I can prepend any brew command with ...
Jacob Ford's user avatar
  • 4,863
45 votes
8 answers
48k views

Xcode error 'building for iOS Simulator, but linking in dylib built for iOS .. for architecture arm64' from Apple Silicon M1 Mac

I have an app which compiles and runs fine in older Macs with Intel processors in physical devices & iOS simulators. The same app also compiles and runs fine from newer Apple Silicon Mac with M1 ...
user482594's user avatar
  • 17.1k
44 votes
4 answers
12k views

Swiftlint can't be found on Apple Silicon xcode

When installing swiftlint with homebrew everything installs correctly but when I open xcode I see the message that swiftlint isn't installed. I read this issue & it say's the homebrew installs ...
user's user avatar
  • 385
43 votes
3 answers
123k views

"zsh: illegal hardware instruction python" when installing Tensorflow on macbook pro M1 [duplicate]

I'm trying to get tensorflow working on my MacBook pro M1. However, I keep getting the following error when trying to import: zsh: illegal hardware instruction python I have downloaded and installed ...
georgev's user avatar
  • 433
41 votes
10 answers
47k views

How can I install GRPCIO on an Apple M1 Silicon laptop?

Every time I try to install a pip package with GRPCIO as a dependency inside a .direnv project I get a build failure due to my architecture being arm64. How can I work around this while waiting for ...
reka18's user avatar
  • 8,037
40 votes
5 answers
52k views

How to install GDB on mac m1 (apple silicon)?

I failed using brew to install gdb. I was using the following command: brew install gdb Is gdb available on mac m1 (apple silicon)? If so, what should I do?
潘嶓 Bo Pan's user avatar
33 votes
9 answers
38k views

Installing Cryptography on an Apple Silicon M1 Mac

Help! I'm trying to install cryptography on my m1. I know I can run terminal in rosetta mode, but I'm wondering if there is a way not to do that. Output: ERROR: Command errored out with exit ...
Joe Fedorowicz's user avatar
32 votes
4 answers
19k views

Running Ruby, Node, Python and Docker on the new Apple Silicon architecture? [closed]

How do you get a Ruby, Python and Node.js development environments running on Apple Silicon architecture. What about virtualization software e.g. Docker?
Igor P's user avatar
  • 629
31 votes
6 answers
109k views

How can I run Python 3.9.1 natively on M1 Mac?

Seems to be impossible currently with Anaconda as well as with Xcode 12. Via idle, it runs via Rosetta. There seems to be no discussion of this so either I'm quite naive or maybe this will be useful ...
hithisispeter's user avatar
28 votes
3 answers
19k views

ARM64 architecture (M1 chip): Cannot install pg gem (using PostgresApp)

I've been trying to install a rails project on my computer (Macbook Pro 2020 with M1) running Big Sur. I have the PostgresApp installed. When running bundle install it fails to build the pg gem so I ...
Tiago's user avatar
  • 723
28 votes
4 answers
16k views

Postgres errors on ARM-based M1 Mac w/ Big Sur

Ever since I got a new ARM-based M1 MacBook Pro, I've been experiencing severe and consistent PostgreSQL issues (psql 13.1). Whether I use a Rails server or Foreman, I receive errors in both my ...
Carl's user avatar
  • 401
27 votes
3 answers
11k views

ERROR: Apple silicon Macs support issue. The app has LSApplicationLaunchProhibited set to true. This is not supported on Mac, How to fix it?

I got this error while trying to submit a sticker pack to the App Store: WARNING ITMS-90863: "Apple silicon Macs support issue. The app has LSApplicationLaunchProhibited set to true. This is not ...
Taoufik's user avatar
  • 544
26 votes
1 answer
25k views

What is the proper way to build for macOS-x86_64 using cmake on Apple M1 (arm)?

I'm using a library that I cannot compile for Apple M1, so I have decided to compile it and use it using (Rosetta 2) for x86_64 which I successfully did following this to install brew and clang for ...
Wael Boutglay's user avatar
26 votes
8 answers
38k views

Installation of earlier versions of Python (prior to 3.8) fails on Mac with M1 Chip (ARM based Apple Silicon)

I have Macbook with Apple M1 Chip in which I have to use Python 3.6.5 for my project. It comes with Python 2.7.16 and 3.8.2 preinstalled. I used brew to install Python which by default installed 3.9.1....
Kundan Kumar's user avatar
26 votes
3 answers
11k views

Build Apple Silicon binary on Intel machine

How can I compile a C project on macOS 11 (Intel) to work on Silicon? My current build script is as simple as: ./configure make sudo make install I've tried using the --host and --target flags with ...
Till's user avatar
  • 1,092
24 votes
2 answers
14k views

How to check if a process is running under Rosetta with terminal

I know that one can use Activity Monitor to check if a process is running via Rosetta on Apple Silicon. I wonder if there is a way to do the same with the terminal? Edit: The process is some other ...
tuple_cat's user avatar
  • 1,252
24 votes
1 answer
36k views

Macbook m1 and python libraries [closed]

Is new macbook m1 suitable for Data Science? Do Data Science python libraries such as pandas, numpy, sklearn etc work on the macbook m1 (Apple Silicon) chip and how fast compared to the previous ...
wizarpy_vm's user avatar
24 votes
4 answers
12k views

Detecting Apple Silicon mac in JavaScript

Is there a way to detect Apple Silicon Mac in JavaScript? Properties in navigator don't seem to be very helpful, for example, navigator.platform is set to MacIntel and the user agent is exactly the ...
Antelle's user avatar
  • 663
23 votes
2 answers
38k views

Running Kubernetes locally on M1 Mac

I'm looking to see if it's currently possible to run Kubernetes locally on a 2020 M1 MacBook air. The environment I need is relatively simple, just for going through some tutorials. As an example, ...
James Cockbain's user avatar
21 votes
3 answers
22k views

New RN project in M1 mbp built failed. "Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable."

System: OS: macOS 11.3 CPU: (8) arm64 Apple M1 Memory: 124.86 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.0.0 - /opt/homebrew/bin/node Yarn: Not Found npm: 7....
pekanchuan's user avatar
20 votes
4 answers
12k views

When running on older iOS Simulator, error "Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding"

I'm running Xcode 12.2 (12B45b) on my M1 MacBook Pro. Whenever I try to run the simulator on an older iOS, for example: It doesn't work. Xcode pops up this error: When I press on Details, a screen ...
aheze's user avatar
  • 27.7k
20 votes
3 answers
21k views

Configuring compilers on Apple silicon (Big Sur, Monterey, Ventura) for Rcpp and other tools

I'm trying to use packages that require Rcpp in R on my M1 Mac, which I was never able to get up and running after purchasing this computer. I updated it to Monterey in the hope that this would fix ...
AFH's user avatar
  • 687
20 votes
2 answers
11k views

Why can't QEMU get even close to Rosetta 2's performance when translating x86 to M1?

Apparently, QEMU is the only piece of open source code that can emulate an x86 operating system on the new Apple silicon (M1, M2, etc.). Apple built Rosetta 2, which, in theory, does the exact same ...
Gabriel C's user avatar
  • 1,122
19 votes
9 answers
31k views

Pod install error on M1 Mac - Flutter project with native code like shared_preferences

I'm on a MacBook Pro M1 (and before someone says well it's because of M1 or something else, I've been programming with Flutter and M1 for weeks but then I must have to reset my M1 and after this) ... ...
Talal Zeid's user avatar
19 votes
2 answers
17k views

Unable to import pyodbc on Apple Silicon - Symbol not found: _SQLAllocHandle

I am currently working on a python (3.8) project on my 2021 MacBook Pro with Apple Silicon. Ultimately, the goal is to build a ML model on data I read from an Azure SQL DB using Apple's Tensorflow ...
eckha's user avatar
  • 193
19 votes
5 answers
20k views

OSX fix Selenium Chromedriver launch error spawn Unknown system error -86 Bad CPU type in executable?

Suddenly on the afternoon of January 6, 2021, my Selenium Protractor tests under OSX stopped working with the mysterious error spawn Unknown system error -86 I did some research and discovered that ...
emery's user avatar
  • 9,077
19 votes
1 answer
3k views

Is it possible for other x86-64 emulators on M1 to leverage the same optimizations used by Rosetta 2?

I am curious about the vastly different performance characteristics of running x86-64 binaries on the Apple M1 platform using Rosetta 2 vs. emulation, for example what Docker Desktop currently does ...
NReilingh's user avatar
  • 1,809
19 votes
0 answers
2k views

Why does my native arm64 application built using an x86_64 build system fail to be code signed unless I remove the previous executable?

I have a simple C application: #include <stdio.h> int main() { printf("Hello, world!\n"); } When I: build this on an Apple Silicon device targeting arm64 using a build system that ...
Shepmaster's user avatar
  • 410k
18 votes
10 answers
14k views

Apache Directory Studio on Apple M1 Silicon

I have a problem run Apache Directory Studio On Apple silicon MBP M1 Max. Error: 2021-12-03 12:42:07.497 ApacheDirectoryStudio[5675:42763] Error loading /Library/Java/JavaVirtualMachines/zulu-8.jdk/...
Andrii Petrenko's user avatar
18 votes
3 answers
32k views

How to build LLVM (clang,clang++) for Apple M1?

I am trying to build LLVM compilers so that I can enable OpenMP on the Apple M1. I am using the LLVM development tree, (since I saw some OpenMP runtime go into that for this recently). I have ended up ...
Jim Cownie's user avatar
  • 2,674
17 votes
5 answers
9k views

Docker Image built on Mac OSX won't run on AWS EC2 instance

Image built on Mac OSX with M1 processor, deployed to an EC2 instance. But when scripts are run it yields the error: standard_init_linux.go:219: exec user process caused: exec format error Elsewhere ...
petercoles's user avatar
  • 1,812
17 votes
5 answers
33k views

(mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

I have a problem when I run a .py file on a Macbook Air M1: [Running] python3 -u "/Users/kaiyuwei/Documents/graduation project/metaheuristics/run_CRO.py" Traceback (most recent call last): ...
kaiyu wei's user avatar
  • 491
16 votes
3 answers
23k views

How can I install Homebrew into /opt/?

I'm on the new M1 MacBook Pro. I'm trying to install gtk+3 (which has native apple silicon support) via Homebrew. First it told me Cannot install in Homebrew on ARM processor in Intel default prefix (...
Orest Tokovenko's user avatar
16 votes
1 answer
7k views

iOS simulator not scrolling properly (M1 + React Native project)

Running my React Native project on the simulator on my M1 MacBook Pro. ScrollViews do not scroll properly in the simulator. Only a problem on this setup with Big Sur and M1. Works on other computers ...
ejanson's user avatar
  • 489
16 votes
3 answers
22k views

Unable to install any ruby version through rvm on a Mac M1 Silicon Chip

Example of Error response: TTRAN-YK0WK9W9PM:virtual_terminal tuantran$ rvm install 2.7.6 ruby-2.7.6 - #removing src/ruby-2.7.6.. Searching for binary rubies, this might take some time. No binary ...
Tony Tran's user avatar
  • 161

1
2 3 4 5
12