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

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 application, so if there is a way to check if this…
tuple_cat
  • 1,165
  • 2
  • 7
  • 22
22
votes
3 answers

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 same. The why part: I have two versions of my…
Antelle
  • 633
  • 1
  • 7
  • 11
21
votes
1 answer

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 x86_64. However when I compile my project and try…
Wael Boutglay
  • 1,163
  • 1
  • 15
  • 21
21
votes
3 answers

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.10.0 - /opt/homebrew/bin/npm Watchman: Not…
pekanchuan
  • 867
  • 1
  • 6
  • 11
20
votes
3 answers

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 some installation issues but it hasn't. I tried…
AFH
  • 665
  • 1
  • 9
  • 28
20
votes
3 answers

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 supported on Mac." The sticker pack is not intended…
Taoufik
  • 482
  • 5
  • 13
19
votes
1 answer

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 using QEMU. I understand why emulation is so slow,…
NReilingh
  • 1,730
  • 17
  • 32
19
votes
9 answers

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) ... my big problem: I can not start my project with a…
19
votes
5 answers

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 error number 86 is the same as Bad CPU type in…
emery
  • 8,603
  • 10
  • 44
  • 51
19
votes
0 answers

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 int main() { printf("Hello, world!\n"); } When I: build this on an Apple Silicon device targeting arm64 using a build system that is compiled for x86_64 replace an existing binary (such as…
Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
17
votes
3 answers

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 with this script to invoke cmake: # Xcode,…
Jim Cownie
  • 2,409
  • 1
  • 11
  • 20
16
votes
1 answer

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 and real devices. When I swipe, the view scrolls…
ejanson
  • 469
  • 8
  • 16
15
votes
2 answers

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 rubies available for:…
Tony Tran
  • 151
  • 1
  • 1
  • 3
15
votes
3 answers

Apple M1 - Maven Java dependency that is not yet available for macosx-arm64

I am trying to get a Java/Maven project working on an Apple M1 with a dependency that is not yet available for the M1 chip. In my case this is nd4j but it could be any other dependency. org.nd4j
Robin
  • 3,512
  • 10
  • 39
  • 73
15
votes
3 answers

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 (/usr/local)! Please create a new installation in…
Orest Tokovenko
  • 163
  • 1
  • 1
  • 7
1 2
3
33 34