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"

On June 22, 2020, at WWDC 2020, Apple announced plans to switch its Macintosh computers from Intel processors to ARM-based, Apple-designed processors. See: Apple-designed processors.

502 questions
11
votes
2 answers

Unable to import pyodbc on Apple Silicon - Symbol not found: _SQLAllocHandle

I am currently working on a python (3.8) project on my 2021 MacBook Pro with Apple Silicon. Ultimately, the goal is to build a ML model on data I read from an Azure SQL DB using Apple's Tensorflow fork. Therefore, I am developing the project on…
eckha
  • 113
  • 1
  • 5
11
votes
3 answers

Deploying iPhone and iPad apps on Apple silicon Macs from TestFlight

With the advent of iPhone and iPad apps on Apple silicon Macs, I am wondering how I can distribute beta builds of our app to test on the new hardware without making it accessible to the public. We have disabled public downloads of our app since we…
Asleepace
  • 3,466
  • 2
  • 23
  • 36
11
votes
6 answers

anthoscli ERROR on installing Google Cloud SDK on Apple Silicon / Big Sur

I am searching for the solution for some weeks now. A couple weeks ago I received the new MacBook Pro with the Apple Silicon processor and with Big Sur installed on it. When I tried to install Google Cloud SDK, because I need that for my work, I get…
10
votes
1 answer

Building for ARM64e on Apple silicon

I'm building my command line app, and noticed that all the binaries I create are of type arm64. However, all the bins that ship with macOS 11.4 are arm64e. i.e. running file on my app built on an M1 MacBook shows: Mach-O 64-bit executable…
Woodstock
  • 22,184
  • 15
  • 80
  • 118
10
votes
6 answers

pecl fails installing mongodb driver on Apple Silicon (M1)

I have php 7.4 installed on my macbook pro m1 % php -v PHP 7.4.15 (cli) (built: Feb 26 2021 09:28:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.15, Copyright (c), by Zend…
Cesar Jr Rodriguez
  • 1,691
  • 4
  • 22
  • 35
9
votes
7 answers

Apache Directory Studio on Apple M1 Silicon

I have a problem run Apache Directory Studio On Apple silicon MBP M1 Max. Error: 2021-12-03 12:42:07.497 ApacheDirectoryStudio[5675:42763] Error loading /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/MacOS/libjli.dylib: …
Andrii Petrenko
  • 163
  • 3
  • 6
9
votes
1 answer

Apple M1 to Linux x86_64: unrecognized command-line option '-m64'

I am trying to generate an image for my Rust service from a Mac M1 Silicon to be run on my x86_64 box in a Kubernetes cluster. This is my Dockerfile: FROM rust:latest AS builder RUN rustup target add x86_64-unknown-linux-musl RUN apt update && apt…
themonkey
  • 377
  • 1
  • 3
  • 9
9
votes
3 answers

docker run mysql image command not working [MacBook Pro M1]

I was following the official docker labs hands-on tutorial for multi-container apps tutorials. While running the below command on MacBook Pro M1 terminal docker run -d ` --network todo-app --network-alias mysql ` -v…
Alien
  • 15,141
  • 6
  • 37
  • 57
9
votes
1 answer

How do I cross compile a Rust application from macOS x86 to macOS Silicon?

I want to cross compile a Rust program from my x86 Mac to a binary that can run on a Silicon Mac, and I can't figure out linking. I have: An x86 Mac running macOS 10.15.7 Catalina A Rust project called riff cargo 1.51.0 (43b129a20 2021-03-16)…
Johan Walles
  • 1,447
  • 2
  • 15
  • 23
9
votes
1 answer

What is the difference between `ansible_architecture` and `ansible_machine` on Ansible?

I'm trying to find the architecture of the machine by using Ansible facts. We can gather information about the machine by running ansible -m setup command, as described in the documentation: Discovering variables: facts and magic…
shuuji3
  • 1,233
  • 13
  • 20
9
votes
4 answers

How to install properly CocoaPods on Macbook M1 Silicon

I am trying to install Cocoa Pods on my new MacBook Pro with the M1 Chip. There are some solutions that found from December. Since is February those solutions may be a little outdated. I cannot find any instructions on CocoaPods website. Would…
Jakub Gawecki
  • 801
  • 2
  • 6
  • 14
9
votes
2 answers

Correct ARCHFLAGS value on Apple Silicon?

On my previous, Intel-based Mac, I used to include export ARCHFLAGS="-arch x86_64" in my shell resource file. What's the correct compilation flag on the new ARM-based Apple silicon? arm? arm64? arm-64? arm_64? There doesn't seem to be a lot of…
thomax
  • 9,213
  • 3
  • 49
  • 68
8
votes
5 answers

Flutter GitHub Actions Bad CPU type in executable

Hi I am currently using this GitHub Action for CI/CD for my flutter project Which runs-on: macOS-latest which I assume will be apple silicon. When it runs the flutter pub get in build_ios: I get this…
GILO
  • 2,444
  • 21
  • 47
8
votes
2 answers

Running .Net Core based Azure Function in Docker Container on Apple Silicon

I am trying to run a .Net Core based Azure Function inside a Docker container on a M1 Macbook without success so far. Originally I used the Azure Function Core Tools CLI to create the function with the following command: func init…
MeBNoah
  • 165
  • 14
7
votes
1 answer

Cannot install lightgbm==3.3.3 on Apple Silicon

Here the full log of pip3 install lightgbm==3.3.3. me % pip3 install lightgbm==3.3.3 Collecting lightgbm==3.3.3 Using cached lightgbm-3.3.3.tar.gz (1.5 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: wheel in…
shogitai
  • 1,823
  • 1
  • 23
  • 50