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
1
vote
1 answer

spring-aop On apple silicon (M1) : Illegal method name

My working project uses kotlin + spring-boot. I found this issue when I try to run a test case having space like should success WHEN setting key is api updatable on the MacBook apple-m1 machine. Example @Test @Transactional fun `should success when…
nuiz
  • 13
  • 3
1
vote
2 answers

How can I set up sdl for M1 mac to use with C

I am trying to write a C program featuring the SDL2 library. I have installed SDL using homebrew using the below command: brew install sdl2 I do not know what command to use to compile my code. I usually use gcc but it generates this error in this…
Amir Kooshky
  • 49
  • 1
  • 6
1
vote
3 answers

.NET EF in Dotnet 6 installed, but when calling it it tells me command or file was not found

I did install dotnet ef using this command dotnet tool install --global dotnet-ef It returned Tool 'dotnet-ef' is already installed. I assume that it is correctly installed. When running the command below inside my project dotnet ef migrations add…
1
vote
2 answers

Mac M1 apple chip: Hyperledger Fabric samples download: "2.4.1 platform specific fabric binary is not available to download" Error

On my mac M1 computer, Trying to download Fabric binaries and images using following command: curl -sSL | bash -s Getting the error: ===> Downloading version 2.4.1 platform specific fabric binaries ===> Downloading: …
1
vote
0 answers

I am trying to run i386 executable on Mac Silcon M1 Rosetta terminal -- but its says 'Bad CPU type in executable'

The executable is sm (for SuperMongo plotting routine) ======= file sm sm: Mach-O executable i386 so if its a valid i386 executable (which is working smoothly on older Macs) sm zsh: bad CPU type in executable: sm Any suggestions are welcome!
1
vote
1 answer

How to install pyarrow on M1 Mac Monterey

I'm wondering if you can lend some insight into how to install pyarrow onto an M1 inside a pyenv virtual env? I've done the following brew install pyenv pyenv virtualenv 3.9.1 ve-pas pyenv activate ve-pas pip install pyarrow And I get the following…
joshp
  • 706
  • 5
  • 22
1
vote
0 answers

How to build stack projects with external libraries on M1

I have a project that depends on the Hapstone package, which in turn depends on the Capstone library. I build capstone like this: cd /Users/ds3/Opt/ git clone https://github.com/capstone-engine/capstone mkdir build && cd build cmake .. cmake --build…
1
vote
2 answers

Using sharp on serverless offline always fails

When I invoke any function in my serverless application I get an error as below. However, directly installing sharp give me no errors. also, when I run the tests sharp works perfectly. Missing module": /build/Release/sharp-darwin-x64.node" exists in…
mamadou jallow
  • 351
  • 1
  • 2
  • 10
1
vote
1 answer

Compile for intel x86 from an ARM

I have a MacBook Pro with M1 chip. I have installed Parallels Desktop 17 because I need to develop under Windows and .NET platform. I have virtualized Windows 11 on ARM and installed Visual Studio 2019 (and also 2022). When trying to install both…
Willy
  • 9,848
  • 22
  • 141
  • 284
1
vote
0 answers

ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. MAC M1 cocoa pods installation

~ % sudo gem install cocoapods Password: Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current directory:…
paddy708
  • 133
  • 7
1
vote
0 answers

CoreML performance issue on M1Max about Neural Engine

I am using a CoreML model from RobustVideoMatting. I have an M1Macbook13 16G and an M1Max Macbook 16 64G. When "computeUnits" using .all or default, M1Max 16 is much slower than M1 13, finish one prediction time is 0.202 and 0.155. Using .cpuOnly,…
Tinyfool
  • 1,460
  • 2
  • 18
  • 40
1
vote
0 answers

Error: Execution failed for task ':app:externalNativeBuildDebug'. [macOS Monterey Apple Chip - Android studio]

I am trying to compile project on apple chip M1MAX macOS Monterey. and facing following problem. Build command failed. Error while executing process /Users/ahmed/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja with arguments {-C…
Rizwan Ahmed
  • 1,272
  • 2
  • 16
  • 27
1
vote
1 answer

Change line after saving web crawled data from Beautifulsoup4 as txt file

I had set code to crawl headlines from the website https://7news.com.au/news/coronavirus-sa and tried to save headlines into txt file. I wrote the following code: import requests from bs4 import BeautifulSoup as bs f =…
kuboshi112
  • 47
  • 3
1
vote
0 answers

architecture arm64 missing in libm?

I have ported a small tool from Linux to MacOS on x86 using simply the existing Makefile. Now, I need to build a universal app, since some users have got M1 hardware. I have followed Apple's instructions on building a universal app, and have add a…
Uwe M.
  • 11
  • 2
1
vote
0 answers

stack level too deep | working in ubuntu, but systemstackerror in mac osx m1

i am having a problem with a project ruby 2.5.3 rails 5.0.7.2, its working fine in ubuntu, but in mac osx monterey m1 with intel virtualized via rosetta (everything installed for intel arch, brew, ruby, packages...cant install in arm arch due to…
uko
  • 11
  • 2