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"
513
questions
0
votes
0
answers
14
views
What is the workflow file YAML config to use the GitHub-hosted apple silicon runner?
I feel like this is a dumb question but I cannot figure this out. I maintain a public Python app which has Cython elements which are needed to build the wheels. It's hosted on GitHub and uses their ...
-1
votes
0
answers
26
views
npm i running into an error - downloading binary node-sass returns HTTP error 404 Not Found
I am working on a project that exists for a while. ~4 months ago I set up the project on my computer including node-sass and everything was running successfully all this time. However, I wanted to ...
0
votes
0
answers
28
views
Future.get() always throws `InterruptedException` [closed]
Instance serviceInstance = Util.getInstance(client);
Future<ClassA> future = new FutureImpl<>();
serviceInstance.retrieveContent(future);
try {
content = future.get();
} catch (...
2
votes
1
answer
28
views
Unable to manually set number of parallel workers in R "NMF" package -- only using 2 cores
I am trying to use the NMF package on a brand new M2 Ultra Mac Studio with 24 cores. I successfully installed the package (install.packages("NMF")), but then when I load it (library("...
0
votes
0
answers
19
views
Running assembly 68k on Mac M1
I am learning 68k assembly at school, but I am working on a Mac M1, and I struggle to find a solution.
I tried installing VMs with UTM, but the execution is really slow as it has to generate a ...
-1
votes
1
answer
41
views
How to disable hardware prefetchers in Mac OS on Apple M1?
In Linux (or macOS) on Intel, we can disable prefetching by modifying the 0xa14 register using wrmsr.
I read that on ARM Cortex-A53, the L1PCTL part of CPUACTLR_EL1 register can be set to 0 to disable ...
0
votes
0
answers
18
views
Stuck trying to build UE for iOS on Mac
I am trying to build an AR game for iOS, using a custom build of Unreal Engine 5.1.1, on an Apple Silicon (M1 Max) Macbook Pro.
(I have to use a custom branch of UE5 because there is a problem with ...
0
votes
2
answers
40
views
Using adb on a Mac M2 (Silicon ARM Chip)
I recently got a new Mac M2 from my employer. Now i installed Android Studio and wanted to run my Espresso and UIAutomator Tests for the android part of my kotlin multi platform app. But when i start ...
0
votes
1
answer
52
views
Installing PyQt5 on 'arm64' stopped working all of a sudden (some 'sip' issue)
this is a pretty macOS specific question, but I didn't know where to put it. I have an Python script that uses PyQt5. Unfortunately there is no wheel for pyqt5 to install it with pip so you have to ...
2
votes
0
answers
64
views
GDB crashes debugging x86 binary under Rosetta 2 + Apple Virtualization Framework
I am trying to debug a x86 program on Apple Silicon using GDB. I would like to be able to debug using the Apple Virtualization Framework (AVF) for performance reasons.
First, I setup a aarch64 VM ...
-2
votes
0
answers
13
views
"ld: symbol(s) not found for architecture x86_64" while installing Sextractor on a M1 Mac running on Monterey [duplicate]
I've been trying to install Sextractor, a commonly-used astronomy tool for source detection. I've configured it with the following settings:
./configure --enable-icc --enable-mkl --disable-model-...
-1
votes
1
answer
31
views
PAServer on ARM Linux
I have a requirement to run PAServer on a Debian ARM Virtual Machine.
I recently upgraded to an Apple Mac Studio M2 silicon computer. The Mac Studio is ARM, and thus I cannot virtualize X86/X64. ...
0
votes
0
answers
27
views
Py2app - how to build single app for Intel and Silicon
I have built a python application uisng Py2app to compile it into a .app using a Mac Pro with an Intel CPU, this runs fine on other Intel CPU Macs.
I have also built the same python application uisng ...
0
votes
0
answers
31
views
Whisper on Apple Silicon Mac. zsh: permission denied after force-quitting python?
I am using Whisper from the terminal of an apple silicon mac and installed it following these instructions (installing homebrew and then ffmpeg). I have been using it from the terminal and it has been ...
1
vote
1
answer
83
views
no matching manifest for linux/arm64/v8 in the manifest list entries on a MacBook Pro2 Apple Silicon chip
I am not able to
no matching manifest for linux/arm64/v8 in the manifest list entries on a MacBook Pro2 Apple Silicon chip error seen
docker pull eclipse-temurin:20-jre-alpine
20-jre-alpine: Pulling ...
0
votes
1
answer
49
views
Provisioning Vagrant with mySQL (on MacBook Pro M2)
Background
Around 2 years ago I set up a vagrant/ubuntu web development environment on my MacBook Pro (Intel). That worked well enough that it had been set & forget until I upgraded to an M2 MBP. ...
0
votes
1
answer
74
views
How to solve "bad CPU type in executable" when compiled on M1?
I'm using XCode 14.2 on a M1 and an Intel Mac. In "Build Settings" there is set in "Architecture" in both Debug and Release an entry of "Standard Architecture (Apple Silicon, ...
0
votes
1
answer
57
views
Setting up GMP on CLion
I am trying to configure GMP on CLion (Apple Silicon), for use in my C++ programmes, and have the following CMakeLists.txt:
project(cs50)
cmake_minimum_required(VERSION 2.8)
set(...
0
votes
1
answer
45
views
CMAKE return CMAKE_HOST_SYSTEM_PROCESSOR with x86_64 on apple M2 CPU
I get CMAKE_HOST_SYSTEM_PROCESSOR return value x86_64(why not arm64) when I run on apple M2 CPU(with cmake version 3.23.0)
The system information and cmake version are as follow:
╰─➤ uname -a
Darwin ...
0
votes
0
answers
33
views
I'm having trouble with Pod installation on Mac M2 problem
I have problem with pods to install using MacBook air with M2 chip
I tried this code
pod install
also I tried
arch -x86_64 pod install
I got an error
Cloning into '/var/folders/l8/...
0
votes
0
answers
44
views
Same docker compose works for all my team but not for me
Initial Situation
My entire team has the same laptop. The 16' Apple m1 pro 64 GB. This is relevant, because docker and m1 don't get along so well.
The team uses the same docker compose. It will be the ...
0
votes
1
answer
48
views
Run Elasticsearch 5.2.0 on Docker Desktop
I am pretty new with Docker and I have an existing application that I needed to dockerize and run first locally.
The existing, non-docker, setup uses Ubuntu 18.04 (upgraded from 16.04) + Elasticsearch ...
0
votes
2
answers
68
views
CMake - Dynamically determine CPU Architecture
I am working on a CMake build script that requires the ARM embedded toolchain. Depending on the user's OS and CPU architecture, a different version of the toolkit needs to be downloaded. This is fine ...
1
vote
1
answer
1k
views
Running Docker Containers on Mac Apple Silicon M2: Platform Compatibility and Execution Errors (linux/arm64)
I'm a newbie to both macOS and Docker. I'm running into a series of roadblocks while trying to launch my project using Docker on Apple Silicon M2. I think that the issues i'm facing are related to bad ...
0
votes
1
answer
61
views
Unable to execute Jupyter Notebook from browser - UsageError: Line magic function `%profile` not found
I am trying to set-up Notebook on my Mac. It is a new M2 Mac, if that makes a difference. Previously, I had followed the same steps to set-up the notebook on a Intel chip Mac successfully.
I have ...
0
votes
0
answers
35
views
Python Capytaine with Apple Silicon M2
I am trying to install the capytaine package in an environment on my Apple Silicon M2 laptop.
Normally conda install -c conda-forge capytaine does the trick on Windows however it doesn't work on the ...
3
votes
1
answer
83
views
How to suppress the Efficiency cores on Apple Silicon?
I work on a mathematical modeller, which is licensed to ISVs as a library to use in their applications. It is not an application in itself: its test harness is a command-line program.
We measure its ...
0
votes
0
answers
78
views
adb push not working on MacBook Pro M2 Max (Apple Silicon)
I have successfully installed adb and also got the devices list after the command adb devices.
But when I try to push a folder via the command adb push folder/ /sdcard/, it gets stuck after 1-2 files ...
0
votes
0
answers
15
views
How to resolve org.eclipse.emf.ecp.cdo.provider in java 11
I am using Apple silicon.
When I build and run the plugin with Java 11 in Eclipse, the following error occurs.
java.lang.Error: Unable to resolve org.eclipse.emf.ecp.cdo.provider
at org.eclipse....
0
votes
1
answer
33
views
Node fibers error while running RocketChat self hosted on M1 Mac
Setup Reference
https://developer.rocket.chat/open-source-projects/server/server-environment-setup/mac-osx
Error screenshot:
enter image description here
I am trying to setup RocketChat v6 on a local ...
0
votes
1
answer
41
views
Qt - Not all possible target environments can be supported due to missing compilers
I'm getting this error after upgrading to Qt 6.5.2 and Qt Creator 11.0.0 on my Mac under Preferences > Kits > Qt Versions:
Not all possible target environments can be supported due to missing ...
3
votes
0
answers
121
views
Unit tests fail on MacBook with AppleSilicon M1
I had a quite old (3-4 years old) project of the iOS application. It worked fine on my Macbook Air M1 - builds, tests, worked fine. One day I realized that my unit tests are broken, I tried to fix ...
0
votes
1
answer
150
views
Django ImportError: dlopen(_mysql.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_mysql_affected_rows'
I am setting up local workspace for my Django project with MySQL on a Macbook AIR with M2 chip. All config are migrated from my old Macbook Pro with core i7 using OSX Migration Assistant.
I am having ...
0
votes
1
answer
101
views
OpenMP column-major access to a large memory-mapped array is (sometimes) slow
I've got a large binary file of doubles, representing an array with 650000 rows and 10210 columns -- it takes up about 53 GB. We are using C mmap (via <sys/mman.h>) to access it.
Unfortunately, ...
-1
votes
1
answer
119
views
Unity Can Not Reference Any *.dll Files In Apple M1 Max (macOS 13.1 - 22C65)
I have Unity project which can be open and build in windows 10. But I can not open the project in Apple M1 Max (macOS 13.1 - 22C65). I try Unity sentinel and Unity Intel. The problem is all *.dll ...
0
votes
1
answer
65
views
Why pytorch is running slow in conda env
I'm using a m1 pro macbook, and I installed pytoch directly on my machine using pip3 install torch torchvision torchaudio this command. Also I created a virtualized env(phthon 3.10) with conda and ...
0
votes
2
answers
160
views
MPS Pytorch Error when running Model Summary
When running the following cell I obtain this error:
slow_conv2d_forward_mps: input(device='cpu') and weight(device=mps:0') must be on the same device
The code runs correctly when model = Net().to(...
0
votes
1
answer
284
views
Cannot launch Android Emulator on Macbook m1 2020
I am unable to launch android emulator on my macbook m1. Sometimes an error is displayed without the mac restarting and sometimes a pink screen is displayed for less than a second and mac restarts. I ...
0
votes
0
answers
178
views
How to force homebrew to install to /opt/homebrew on Mac (M2)?
After using the Macbook's migration utility from an old Intel chip to the newest M2 machine, I started having issues with homebrew.
I uninstalled it and installed it again.
I found the problem. On re-...
0
votes
0
answers
52
views
Pod install error : Searching for inspections failed: undefined method `map' for nil:NilClass
Running Pod install on a Macbook M1 is giving me the following error (Cocoapods v1.12.1)
Searching for inspections failed: undefined method `map' for nil:NilClass
if I alter the content of my Podfile (...
1
vote
0
answers
230
views
colima kubernetes start ends with 'error: no context exists with the name: "colima"'
I am running colima version 0.5.5 on a Mac M1. When I start Kubernetes via
colima kubernetes start
the command ends with the following error message:
FATA[0093] error starting kubernetes: error ...
0
votes
0
answers
146
views
conda ROS gazebo ardupilot gazebo
I use mac os m1. I installed anaconda and I create an envoirement ROS. I installed ROS, and gazebo was installed ROS. so I did not do anything to install gazebo. because after ros installing gazebo is ...
-1
votes
1
answer
245
views
How to replace Python x86 packages with arm64 ones?
I just bought an M2 MacBook Pro (running on Apple Silicon, Rosetta installed) and transferred my data thanks to an old TimeMachine backup. However, Python packages still are for x86 architecture.
I ...
0
votes
1
answer
159
views
Bazel & protoc on M1: symbol not found in flat namespace '__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev'
I am building a C++ 17 project with a few proto files on a Apple M1 with bazel. I have uninstalled any protoc from my system to make sure it wasn't interfering with bazel but I am still getting the ...
0
votes
1
answer
493
views
React Native run on M2 Max - errors
I have a errors on every one a project. Nothing help with this. Problem only with run ios.
I have M2 Max processor.
First error which I repair adding |:
CompileC /Users/samwieszkto/Library/Developer/...
2
votes
0
answers
43
views
How to detect if "touch alternatives" are enabled on iOS app running on an Mac M1?
I would like to know in my code if "touche alternatives" are enabled or not.
I added the file "com.apple.uikit.inputalternatives.plist" to set enabled at the start of the app but I ...
1
vote
1
answer
62
views
ImageMagick for macOS as Universal Libraries
In order to build my app as an universal app (ARM64 & x86_64) on macOS 13.4 I have to first build the ImageMagick libraries as universal libraries. I've already installed all dependencies as ...
0
votes
0
answers
185
views
Running x86-compiled chromium on M2 chip docker fails
I have compiled Chromium from source on an x86_64 LINUX/UNIX platform, which I'm trying to run within Docker form my apple-silicon MacOS using the Rosetta feature as suggested in other community posts....
0
votes
0
answers
36
views
MapR Client for macos m1 chipset
Hi I have macbook pro m1 and want to install mapr on my computer but currenlty mapr doesn't have apple silicon dmg. When I install x86 based application it gave me below error.
Caused by: java.lang....
2
votes
1
answer
953
views
Error: The method 'NullThrownError' isn't defined for the class 'ResumableMediaUploader'
When I tried to upgrade my Flutter app (running on Flutter 3.3) to Flutter 3.10, it keeps on giving an error. I upgraded all my dependency versions except for a few because they had some conflicts.
I'...