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
0 answers

unable to run c++ in visual studio code on m1 chipset

I have wrote a very simple program in c++ #include using namespace std; int main() { cout<<"hello world"; return 0; } but its showing error in Undefined symbols for architecture arm64: "_main", referenced from: implicit…
1
vote
3 answers

react native project not build on MacBook M1

I change my MacBook within new MacBook M1 pro and have issue an old project. I work on old project where I use: expo(version 40) which one is ejected and use react-native(version ~0.63.4) and when I try to build(command: react-native run-ios)…
1
vote
1 answer

Connection to MongoDb with express on M1 Mac not working

I installed mongoDB with brew install mongodb-community@5.0 I started mongoDB with brew services start mongodb-community@5.0 on brew services list I get: Name Status User File emacs stopped mongodb-community…
Laurenz
  • 41
  • 7
1
vote
2 answers

Jira in Docker on Apple Silicone (M1)

I'm recently trying to get a local Jira instance run in a docker container on an Apple Silicone M1 chip. I'm using Postgres for the database (also tried mariaDB) and an arm image of Jira that I've found on GitHub. However, whenever I docker-compose…
ivpiter
  • 11
  • 1
1
vote
0 answers

Why does my python3 multiprocessing is running slower than without for a complex matrix computations?

I'm trying to do the following: XX + XX^t + 4yy here's my following code: I have created matrices first, then started to calculate the time taken for the process to complete without the multiprocessing. Then I introduced multiprocessing and…
Prashanthv
  • 109
  • 7
1
vote
0 answers

ZSH permission denied Mac M1

I have installed php7.4 on my mac using brew now I want to be able to have it in my path I need to run echo 'export PATH="/opt/homebrew/opt/php@7.4/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/php@7.4/sbin:$PATH"' >> ~/.zshr when I…
TGod-Ajayi
  • 61
  • 6
1
vote
2 answers

GCC m32 option on Apple M1 Chip

Is there any way to run gcc with the following flags on an apple M1 chip? gcc -m32 -o test test.c It outputs the following error: ld: unknown/unsupported architecture name for: -arch armv4t clang: error: linker command failed with exit code 1 (use…
philipmrz
  • 31
  • 6
1
vote
2 answers

MySQL installed via HomeBrew Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I've been searching for hours about this issue i'm having. I have installed mysql@5.7 in my mac osx Monterey 12.0.1 with M1 chip using Homebrew. I've been following this tutorial that helped me install mysql version 5.7. I'm specifying this version…
Francesc Roca
  • 121
  • 3
  • 12
1
vote
0 answers

Mac M1 Cannot install PG gem rails

got an issue when trying to bundle a rails project that need the pg gem. I actually try a lot of solution ARM based with no actual result. When bundle I get this error : An error occurred while installing pg (1.2.3), and Bundler cannot…
max.jos
  • 11
  • 1
  • 4
1
vote
1 answer

Xcode throws build error on M1 MacBook Pro

We have an app which compiles properly on old Intel based MacBooks. However on M1 MacBook Pro, it's not compiling due to arm64 compilation issue with latest iPhone simulators. It works till 13.7 simulators. Based on few solutions on other posts, I…
Bappaditya
  • 9,494
  • 3
  • 20
  • 29
1
vote
0 answers

mac m1 Failed building wheel for argon2-cffi jupyter notebook installation

I'm trying to install jupyter Here is the error code returned by the terminal The terminal failed to build wheel for argon2-cffi And my pip is up to date Building wheel for argon2-cffi (pyproject.toml) ... error ERROR: Command errored out with…
1
vote
1 answer

Show full camera width from Mac camera when running app via Mac Catalyst

I know my Macbook's webcam has a wide field of view. When I open the Quicktime app and select my MacBooks camera as the input I see a nice wide video feed like this. Now, I have an iOS app which I'm running using Mac Catalyst. Here is the build…
Jon Vogel
  • 5,244
  • 1
  • 39
  • 54
1
vote
2 answers

.NET6 not compatible with Visual Studio for Mac M1, what can I use for xamarin?

I'm trying to learn how to make apps with xamarin forms. I'm using a M1 Macbook pro, and when I open Visual Studio, it says I have to uninstall my latest versions of .NET (I have .NET6), I read that .NET 3.1, 5, and 6 are not compatible with visual…
privatename
  • 145
  • 1
  • 12
1
vote
1 answer

Whole or part of the window is selected in Mac M1

I just installed IntelliJ in the Mac mini (M1 chip) and the whole window is selected which is wired. I use macOS Monterey. How do I get rid of this? PS: this may be just related to the Monterey OS as happening to the other places as well. PS2: Even…
Arefe
  • 11,321
  • 18
  • 114
  • 168
1
vote
1 answer

How can I run Kivy on my Mac with M1 chip

MacOS: Monterey 12.0.1, currently (16-11-21) latest version IDE: Visual Studio Code I want to use Kivy to create some simple desktop app interfaces for a university project. I followed the instructions found on kivy.org: pip install venv…