Category "macos"

Why does macOS kill static executables created by clang?

I have a minimal c program for the m1 arm cpu that returns 42: void _start() { asm("mov x0, #42;"); asm("mov x16, #1;"); asm("svc 0x80;"); } This c

How to stop "keychain access" permission dialog on MacOS when debugging Flutter app on Visual Studio Code?

I had just moved from Android Studio to Visual Studio Code. I'm using Firebase in my app which I debug by running it on MacOS. Every time I do "Start Debugging"

Unable to start minikube on Mac M1 with docker

I'm trying to start minikube on a Mac M1 (macOs Monterey V12.0.1) after installing minikube with homebrew (brew install minikube) but I am getting an error afte

How do I test my html code on browser directly from VS Code using tasks.json version 2.0.0 on MacOS?

In Windows, using VS Code tasks.json version 0.1.0, I used to use following code to test my html code in the browser directly from the VS Code shortcut: {

Compile and run assembly on macbook

I'm taking a course on computer structure and I'm lost. I was given the following file: Hello.s: #This is a simple "Hello World!" program .section .rodat

Could not find protoc-3.9.2-osx on Flutter/Android build

I am working on a Flutter application which integrates a native package which uses Protobuff. I work on Android Studio and Mac (Apple ship). On windows, the app

Open Screen Mirroring in Control Center for Sidecar?

OS & Program Details macOS Monterey (12.3+): This is only applicable to 12.3 or above since the method of activating/deactivating Sidecar changed a bit with

Pytesseract - OCR on image with colored text

im trying to use Pytesseract to get some text in an image. However, the text is an orange color and the background has both black and white. I have tried severa

NSOpenPanel, NSSavePanel runModal dismisses immediately with cancel, but only on M1 running 11.4

I have one user who reports that the Open and Save panels have been "auto dismissing". ie the Open Panel dialog appears then immediately dismisses itself, takin

Generic requirements.txt for TensorFlow on both Apple M1 and other devices

I have a new MacBook with the Apple M1 chipset. To install tensorflow, I follow the instructions here, i.e., installing tensorflow-metal and tensorflow-macos in

Python keyboard module non-functional with python 3.x and macOS?

So I'm trying to write a macro to automate a few tedious actions on my mac. I've been attempting to use the keyboard module for python (so that I can hook into

macOS - How to install Java 17

Could someone please let me know the steps to install Java on a Mac. I did brew install java I get this Warning: openjdk 17.0.1 is already installed and up-to-d

VSCode does not use conda environment when starting from the terminal

I'm using Visual Studio Code (VSCode) to do some Python programming on a Mac. I use conda for my Python environments. When I open a folder from within VSCode (u

React Js docker image building error with ERROR [linux/arm64 5/7] RUN npm install --silent. Running on Mac M1

I am creating a React Js docker image to run on multiple architecture when i run the command I get an error. I tried a lot but not successful. I am using Mac M1

Docker command not found when running on Mac

I'm trying to run the below code as instructed in the docker-graphite-statsd: docker run -d\ --name graphite\ --restart=always\ -p 80:80\ -p 2003-2004:2003-

How to hide/disable 'My Mac (Designed for iPad)' Build Target - Xcode 13

Recently I moved to using an M1 Mac Mini as a build machine for Unity IOS projects through Xcode. Often I would use the Unity option to 'Build and Run' which wo

MacOS Metal: Failing to capture GPU Frame from command line app

I'm trying to programmatically capture GPU frames using MTLCaptureManager in a command line application. So far, the capture manager fails to support the MTLCap

How to resolve Python mysqlclient install error on Mac

I’m trying to install Python interface to MySQL (mysqlclient 2.1.0) for use with Django project (to be developed in MS Code) on my MacBook with M1 chip. W

Error when implement an nodemcu 8266 with DHT22

I implemented a nodemcu 8266 as a api rest server with a temperature sensor (DHT22) in a Mac with macOS Monterey, when I read the temperature and humidity in a

Go 1.18 build error on Mac: "unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable"

I upgraded to Go 1.18 on Mac 12+. 'go build' fails with errors like: # golang.org/x/sys/unix ../../gopath/pkg/mod/golang.org/x/[email protected]