Questions tagged [rosetta]

For programming questions about Rosetta, the Mac OS X dynamic binary translator allowing PowerPC applications to run on Intel-based Macs. Supported under OS X 10.4 (Tiger); unsupported as of OS X 10.7 (Lion).

Rosetta is not an app that you need to open. Rosetta works automatically in the background whenever you use an app built only for Mac computers with an Intel processor. It translates the app for use with Apple silicon.

In most c

67 questions
81
votes
12 answers

CocoaPods on M1 (Apple Silicon) fails with ffi wrong architecture

Running 'pod install' on a M1 MacBook failed for me due to an ffi issue, as described here. I followed some of the workarounds (I guess I tried all of them in various order), but now I get a slightly different error: LoadError -…
Nusatad
  • 3,231
  • 3
  • 11
  • 17
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
24
votes
11 answers

Mac M1 chip issues with rosetta, “attachment of code signature supplement failed: 1”

I recently got a Mac with the apple M1 chip and I am having numerous problems running libraries and applications. One such example is numpy. To provide context, I installed Python 3.9 and pip3 and then decided to use pip to install numpy. To test if…
tcglezen
  • 456
  • 1
  • 4
  • 12
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
13
votes
2 answers

Xcode 14.3 Rosetta build with command line

As Apple removed x86_64 support for Xcode and introduced sperate simulators for Rosetta, I wondered how I could run my app on a Rosetta simulator via cli. This is also needed for fastlane. (see Fastlane Issue) In the release notes of Xcode 14.3…
kaulex
  • 2,921
  • 3
  • 11
  • 38
10
votes
2 answers

Get real architecture of M1 Mac regardless of Rosetta

I need to retrieve the real architecture of a Mac regardless of if the process is running through Rosetta or not. Right now in Node.js, process.arch returns x64 and in shell, uname -m returns x86_64.
Elmo
  • 6,409
  • 16
  • 72
  • 140
7
votes
1 answer

How to uninstall Homebrew of Rosetta and install Homebrew native on Mac Bigsu (M1)

Previously I have installed Homebrew rosetta version on MacOs M1, now I see HomeBrew has native version, So how do I remove HomeBrew on rosetta and install the native version. Please help me with this problem, Thanks
Thang
  • 409
  • 1
  • 6
  • 17
6
votes
1 answer

MacOS M1 system is detected as ARM by Python package even though I'm using Rosetta

I'm on a Macbook with M1 (Apple ARM architecture) and I've tried running the following Python code using the layoutparser library, which indirectly uses pycocotools: import layoutparser as lp lp.Detectron2LayoutModel() And I've received the…
David
  • 513
  • 7
  • 14
5
votes
1 answer

How can I run Jupyter Notebooks in Visual Studio Code on M1 Mac with Rosetta

Using PyQt5 on the M1 Mac is not a Problem. There are many guides that describe how to run scripts in the Rosetta Terminal. But can you somehow combine this Feature with Visual Studio Codes Jupyter extension? I can successfully use PyQt5 in the…
5
votes
0 answers

M1 Xcode Launched App is frozen with DebugServer hogging the process

When I compile my app on Xcode and run it on normal Intel MacBook Pro, all good. However, when run it on M1 MacBook Pro, I got the error on the console rosetta error: mmap_anonymous_rw_guard_page mprotect failed And then the App keeps frozen on the…
Elye
  • 53,639
  • 54
  • 212
  • 474
5
votes
1 answer

How do I troubleshoot an error with 'react-native' and cocopods on a Mac using Rosetta

I am trying to execute a react native project on new Mac computer with app chip. Changed the terminal to open with Rosetta as suggested in some forums Installed the cocoa pods 1.10.1 version Using NPM 14.16.0 and react Native version 0.63.4 and…
murty
  • 51
  • 1
  • 3
5
votes
1 answer

How to install python 3.9.1 natively support to Apple silicon

How to install python 3.9.1 natively support to Apple silicon without rosetta? When I download python 3.9.1 from python.org and install it, it always need me to install rosetta, which reduce the speed significantly. Per python website Installer…
AUDIOX_1
  • 59
  • 2
  • 6
4
votes
1 answer

Xcode Simulator targets show "(Rosetta)"

In an old project I noticed that all Simulator targets had a "(Rosetta)" indication whereas the project only contains Apple silicon compatible code and libraries. I would like to build and run on native Simulators, but cannot seem to do that. Web…
hotdogsoup.nl
  • 1,078
  • 1
  • 9
  • 22
4
votes
4 answers

How to tell if rosetta is installed?

I am working on a Python script that will rely on rosetta being installed. Rosetta is a dynamic binary translator for Mac OS X which allows many PowerPC applications to run on certain Intel-based Macintosh computers without modification. Is there…
Mizmor
  • 1,391
  • 6
  • 21
  • 43
3
votes
5 answers

Dotnet Watch Run gives me a Rosetta Error: attachment of code signature supplement failed: 1 after save

I'm having a problem with my .Net Core 3.1 Project. I'm using Docker for hosting the MS SQL Database (image azure-sql-edge) and I run it on a MacBook Pro M1 Max. When starting the project with Dotnet Watch Run everything works ok but after a save in…
Piet Sikkema
  • 45
  • 1
  • 8
1
2 3 4 5