Questions tagged [apple-m1]

NOTICE: Questions using this tag must be related to programming, your question will risk being closed otherwise. Do not use if you are discussing software or operating system subjects. If you need support you can try https://apple.stackexchange.com.

Apple M1 is an ARM based system on a chip designed by Apple Inc.

2791 questions
60
votes
13 answers

What is the proper way to install TensorFlow on Apple M1 in 2022

I am facing 4 problems when I tried to install TensorFlow on Apple M1: Conda has supported M1 since 2022.05.06 but most of articles I googled talk about using Miniforge, e.g. So I feel they are all kind of outdated. How To Install TensorFlow on M1…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
56
votes
7 answers

Cannot install Android Emulator via Android Studio on a MacBook Pro M1

I went to "SDK Manager" in my MacBook Pro M1's Android Studio to install Android Emulator, but I got this error: Packages to install: - Android Emulator (emulator) Preparing "Install Android Emulator (revision: 31.3.10)". Downloading…
Mr Cold
  • 1,565
  • 2
  • 19
  • 29
56
votes
24 answers

remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

Updated to the Xcode 13 beta, now I can't build the project due to an error in several pods Older Xcode launches an app on iOS 15 too long I use M1, maybe this is due to architecture
getmemd
  • 748
  • 1
  • 6
  • 16
55
votes
5 answers

when launching terminal macos get error Class ATCRTRestoreInfoFTABSubfile is implemented in both

When first launch the termainal always get this error. objc[9318]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x207c11eb0) and…
Victor Orlyk
  • 1,454
  • 2
  • 15
  • 27
54
votes
4 answers

Xcode Playground Failed to launch

I can't run any Xcode Swift Playground project without getting the error: Failed to launch process. Failed to attach to stub for playground execution: error: attach failed ((os/kern) invalid argument) Does anyone know how to solve this?
Steve Code Brain
  • 663
  • 1
  • 4
  • 6
53
votes
5 answers

Failed to create new OS thread (have 2 already; errno=22)

I have mac with M1 and if i try to run docker container with nginx-proxy by jwilder, I got this error: api_clever4sms_nginx-proxy | runtime: failed to create new OS thread (have 2 already; errno=22) api_clever4sms_nginx-proxy | fatal error:…
Petr Kvasnička
  • 643
  • 1
  • 4
  • 5
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
48
votes
12 answers

Trouble installing Pandas on new MacBook Air M1

I recently got a new MacBook Air M1, but I’m having trouble installing Pandas, since prebuilt binaries are not available for macOS/arm64. How can I install Pandas on an Apple Silicon Mac?
Dan Hendrickson
  • 497
  • 1
  • 4
  • 3
47
votes
9 answers

Error about Android Studio on Macbook M1: An error occurred while trying to compute required packages

I've downloaded Android Studio from the official website, the one for M1 chip (arm). Basically running it for the first time, the error is the following: An error occurred while trying to compute required packages I was searching about it the whole…
KayFirst
  • 473
  • 1
  • 3
  • 5
47
votes
4 answers

Emulator appearing offline on M1 Mac after the last update of arm64-v8a

Yesterday the emulator was working perfectly. The system image was arm64-v8a. I don't exactly remember the Release name of the working system image but, yesterday there was an update for the ARM 64 system image which I accepted and the release name…
alex
  • 581
  • 1
  • 4
  • 7
46
votes
2 answers

Unknown host CPU architecture: arm64 , Android NDK SiliconM1 Apple MacBook Pro

I've got a project that is working fine in windows os but when I switched my laptop and opened an existing project in MacBook Pro M1. I'm unable to run an existing android project in MacBook pro M1. first I was getting Execution failed for task…
Atif AbbAsi
  • 5,633
  • 7
  • 26
  • 47
43
votes
2 answers

Install python@2 on Mac with M1 chip

Long story short, I want to install Apache Cassandra on a MacBook Pro with M1 chipset. In order to install it, one must install other softwares before, one of them being python which must be updated to the latest version. I have followed this…
43
votes
2 answers

How to install NodeJS natively on Apple Silicon M1?

I am trying to install NodeJS on the new Apple Silicon MacBook Pro, but I wasn't able to find a way to install it on the ARM-based Apple M1. The standard installation will run in Intel emulation mode, but I saw they already have an ARM Linux version…
Lucki
  • 457
  • 1
  • 4
  • 4
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
36
votes
13 answers

React Native - FBReactNativeSpec Command PhaseScriptExecution failed with a nonzero exit code

I am using a MacBook Pro with M1 chip MacOS Big Sur Xcode Version 13.2.1 node v14.17.5 I wanted to follow this tutorial to set up a new React Native project called AwesomeProject https://reactnative.dev/docs/environment-setup the section with…
es1
  • 1,231
  • 3
  • 14
  • 27