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

arm64 macho store label in register from outside of section

I have the assembly code compiling for Mac m1 (arm64 macho): .text .globl main …
HParker
  • 1,567
  • 15
  • 19
1
vote
2 answers

Cannot load native library libLiteCore.dylib on M1

I'm trying to build a JVM application (mostly Kotlin) on my M1 MacBook that uses CouchbaseLite. I have this in my build.gradle file: implementation "com.couchbase.lite:couchbase-lite-java:3.0.0-beta02" (also tried it with a non-beta version…
Alessandro
  • 258
  • 1
  • 3
  • 10
1
vote
1 answer

Brew installed Java unable to symlink with System java folder

I installed Java11 using Homebrew running the command on my M1 mbp brew search java brew install java11 Which installed the java version. Then when I run brew info java I get this openjdk: stable 17.0.1 (bottled) [keg-only] Development kit for…
Vibhore Sagar
  • 75
  • 2
  • 6
1
vote
0 answers

Please help me figure out why this Metal code is slower than CPU code?

I'm benchmarking GPU computing using Metal running on an Apple M1 Max's 32-core GPU. The test task is to add an array of 1 billion numbers to another array of the same size. For that, I'm using Xcode 13.1 to run the project in the Release build…
Desmond Hume
  • 8,037
  • 14
  • 65
  • 112
1
vote
1 answer

Flutter - google_sign_in building for iOS Simulator-x86_64 but attempting to link with file built for iOS Simulator-arm64

I'm trying to run my auth-sample project with the google_sign_in flutter plugin, but it won't compile. This is the error I am facing: Launching lib/main.dart on iPhone 12 in debug mode... Running pod install... Running Xcode build... Xcode build…
Dave
  • 1,912
  • 4
  • 16
  • 34
1
vote
0 answers

'No matching manifest for linux/arm64/v8 in the manifest list entries' for elasticsearch

Running docker on Apple Silicon/M1 and currently getting this error when performing docker-compose up -d no matching manifest for linux/arm64/v8 in the manifest list entries This error was originally showing for my mysql_db too however I went into…
Sia
  • 41
  • 1
  • 5
1
vote
1 answer

AI Vision framework Error: "Could not create Espresso context" in M1 Mac

I am making an app to classify food images. I trained a model using a dataset found from Kaggle. When press the classify button I am getting this error in console: Error Domain=com.apple.vis Code=9 "Could not create Espresso context"…
Tanvirgeek
  • 540
  • 1
  • 9
  • 17
1
vote
1 answer

Unable to reinstall postgresql on mac

I'm trying to reset postgreSQL but looks like it is stuck on Mac M1 with a password and every time that I uninstall and reinstall postgreSQL it is remembering the previously set password. So when I run brew uninstall postgresql and then brew install…
nonyck
  • 69
  • 1
  • 13
1
vote
1 answer

Flutter IOS Architecture Issue in M1 Mac using VS code

I am using an M1 MacBook pro laptop and ios 13 simulator for developing a flutter app, But I am getting the below issue while trying to run the flutter app in the emulator. This started happening when I upgraded my workspace to Flutter 2.8. No…
Aravind
  • 1,145
  • 6
  • 18
  • 44
1
vote
1 answer

Issue running airflow on Mac M1: error in Flask-OpenID setup command: use_2to3 is invalid

Having an issue running airflow on my M1 Mac. Keeps erroring out with error in Flask-OpenID setup command: use_2to3 is invalid. I have setuptools < 58 and still having issues. ERROR: Could not find a version that satisfies the requirement…
ponybear
  • 61
  • 1
  • 2
  • 4
1
vote
1 answer

Matlab python integration on Apple Silicon

I installed Python on my Apple M1 using miniforge brew install --cask miniforge but I am not able to use a Conda environment on MATLAB: >> pyenv('Version', '/opt/homebrew/Caskroom/miniforge/base/envs/matpy39/bin/python3') ans = …
dleal
  • 2,244
  • 6
  • 27
  • 49
1
vote
1 answer

iOS simulator builds fail on M1 Mac with binary framework - "Module compiled with Swift 5.4.2 cannot be imported by the Swift 5.5.1 compiler"

Simulator builds fail in Xcode where a 3rd party framework is being used and that framework is only provided in compiled form. Device builds are successful, but simulator builds on M1 Macs give an error: Module compiled with Swift 5.4.2 cannot be…
Paulw11
  • 108,386
  • 14
  • 159
  • 186
1
vote
0 answers

is it possible to make sass-loader use less and do not use node sass

the node sass has a compatible problem with the Apple M1, this is the error when I build the project in…
Dolphin
  • 29,069
  • 61
  • 260
  • 539
1
vote
1 answer

Jupyter Lab starts Intel python processes while ARM python is available

I have installed python and jupyter on my MacBook Pro M1Pro. If I start python from my terminal, all is well. An M1-native ARM process can be seen in the task manager: But once I start Jupyter Lab, unfortunately, an Intel process is started: Is it…
testrado
  • 11
  • 3
1
vote
2 answers

How do I compile Tomcat mod_jk on a MacBook Pro M1 chip?

I have Homebrew Apache installed and trying to connect Coldfusion Server 2016 with Tomcat mod_jk. I downloaded the source code from https://tomcat.apache.org/download-connectors.cgi I followed the directions to compile it, tried few different ways,…
felix822
  • 15
  • 5