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
48
votes
2 answers

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 arch --x86_64 to emulate Intel for that command,…
Jacob Ford
  • 4,553
  • 5
  • 27
  • 42
44
votes
3 answers

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 under this path now /opt/homebrew with apple silicon &…
user
  • 345
  • 2
  • 8
  • 32
41
votes
7 answers

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 processor with physical iPhone devices, but it refuses…
user482594
  • 16,878
  • 21
  • 72
  • 108
38
votes
10 answers

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 the GRPCIO crew to release an update? Using…
reka18
  • 7,440
  • 5
  • 16
  • 37
38
votes
3 answers

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

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 tensorflow via this link. These were my…
georgev
  • 383
  • 1
  • 3
  • 8
32
votes
4 answers

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
  • 383
  • 1
  • 4
  • 7
32
votes
4 answers

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

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
  • 629
  • 1
  • 7
  • 9
31
votes
5 answers

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 to others as well. Python says: "As of 3.9.1,…
hithisispeter
  • 359
  • 1
  • 3
  • 5
30
votes
8 answers

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 status 1: command:…
Joe Fedorowicz
  • 625
  • 2
  • 6
  • 14
28
votes
4 answers

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 browser and terminal like PG::InternalError: ERROR:…
Carl
  • 401
  • 1
  • 8
  • 12
26
votes
7 answers

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. So, I tried this homebrew formula to install…
Kundan Kumar
  • 471
  • 2
  • 6
  • 10
25
votes
3 answers

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 tried to install the gem manually (by doing gem…
Tiago
  • 673
  • 1
  • 8
  • 24
25
votes
3 answers

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 aarch64-apple-darwin and arm-apple-darwin without…
Till
  • 1,107
  • 12
  • 28
23
votes
2 answers

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, this operator-sdk guide. So far I've tried microk8s…
James Cockbain
  • 466
  • 2
  • 4
  • 13
23
votes
1 answer

Macbook m1 and python libraries

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 generation intel based macbooks?
wizarpy_vm
  • 396
  • 1
  • 2
  • 10
1
2
3
33 34