Questions tagged [macos]
macOS (formerly known as OS X or Mac OS X) is the desktop operating system from Apple, found on Macintosh computers. Use this tag only if your question relates to using macOS APIs or macOS-specific behavior, not because you happen to run your code on macOS. Questions relating to using or troubleshooting macOS are off-topic and belong in the Ask Different community instead.
macos
117,975
questions
-1
votes
0
answers
10
views
npm install failed in expo react native project on MacOs M1
I was trying to install a package in expo React Native project without success. I then tried running npm install and expo upgrade. Unfortunately, npm install failed with following error message:
npm ...
1
vote
0
answers
19
views
Unable to compile NASM without -no_pie on macOS
I'm trying to follow the tutorial for NASM and I made a few adjustments (like changing the entrypoint function from "start" to "_main") to get the following hello.asm to compile ...
0
votes
0
answers
19
views
`osEligibility.status reasons is empty` MacOS 15 beta
After upgrading my dev environment from:
iPhone 15 Pro iOS 17+
M2 MBP MacOS 14+
Xcode 15+
to
iPhone 15 Pro iOS 18 beta 3 (22A5307f)
M2 MBP MacOS 15 beta (24A5279h)
Xcode 16 beta (16A5171c)
My iOS ...
0
votes
0
answers
35
views
Incorrect value of CMAKE_SYSTEM_PROCESSOR when using cibuildwheel and scikit-build-core on GitHub macos-14 runner
Below are demo files to reproduce the issue. I expect the value of CMAKE_SYSTEM_PROCESSOR should be arm64. However, it is x86_64. See line 1233 in the Build wheels section, which corresponds to the ...
-3
votes
0
answers
21
views
Change all kinds of system sounds in macos [closed]
Im looking for a way to change different system sounds in macos sonoma. In windows and in older versions of macos it is possible to change all kinds of system sounds to whatever audio file you want. ...
-8
votes
0
answers
27
views
Use own system sounds in macos [closed]
im looking for a way to change different system sounds in macos sonoma. In windows and in older versions of macos it is possible to change all kinds of system sounds to whatever audio file you want. ...
-1
votes
0
answers
15
views
Lenis smooth scrolling acting weird on MacOS
I have a website (shashp.xyz) that uses Lenis smooth scrolling. It works fine on Windows and Linux but on MacOS, scrolling is acting very weird. I tested it on a 2015 Intel iMac and the scrolling ...
-2
votes
0
answers
11
views
os.listdir on samba folder leads to OSError: [WinError -2146893818] Invalid Signature
I have a samba share on my laptop (macos) and I access it via my windows machine.
To provide some context, I use it to store some ML datasets and I access the files via python scripts, using pathlib ...
0
votes
1
answer
34
views
how to open a pdf to specific page and zoom in python in mac-os
I am trying to open a pdf in mac-os to specific page and zoom programatically.
But I am unable to do so.
Here is my code for windows, can somebody please let me know what I need to change in mac-os?
...
-1
votes
0
answers
14
views
local computer MAC join ray cluster on AWS as a ray worker
I am thinking some personal project.
I have a ray cluster on aws. it is possible for my local computer (mac) join the ray cluster as a worker?
Is there any document about this?
UPDATE
i have a ray ...
-5
votes
0
answers
30
views
How to completely reset Spotlight search data on macos 15 beta? [closed]
How to completely reset Spotlight search data on macos 15 beta?
My Spotlight is stupidly broken, because it is searching for a not existing contact.
Rebuilding the index does not help at all, of ...
0
votes
0
answers
29
views
How do I NOT apply a fill in SwiftUI [duplicate]
Normally, I call several object modifiers .fill and .stroke to apply specific details to a path.
curObj.path(in: CGRect( origin: .zero, size: geometry.size ))
.fill(curObj.drawInfo.fillColor ?? ....
-3
votes
0
answers
16
views
Macos Rdp using github action & Ng rock [closed]
name: CI
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Download ngrok
run: wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.zip -O ngrok.zip
...
-1
votes
1
answer
14
views
How to remove iterm2 line focus on click?
I'm currently running into an issue with iterm2 on my new macbook that I didn't had on my previous macbook, I imported my old config but it appears a new thing happens when I click on a line, it ...
0
votes
0
answers
17
views
Why are docker builds on mac apparently trying to use a proxy?
I have the following Docker file:
FROM golang:1.22
WORKDIR /usr/src/app
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
COPY ...
0
votes
0
answers
28
views
How to embed a fully interactive Plotly figure in Excel on MacOS
I am trying to embed a browser object in my excel worksheet so I can display interactive charts using plotly. I found this post Plotly: How to embed a fully interactive Plotly figure in Excel? which ...
0
votes
1
answer
34
views
how to use custom preview function for fzf command on zsh
foo() {
echo "bar"
}
export -f foo
fzf --preview "foo"
leads to opened preview window and error msg:
zsh:1: command not found: foo
How can I define my custom function that ...
-2
votes
0
answers
39
views
AppleScript not working if sandbox in enabled [duplicate]
We are using Java to get the active application running on macOS using AppleScript.
"osascript",
"-e",
"tell application "System Events" to get the name of ...
-3
votes
1
answer
23
views
arm mac jpype install error(Compiling with an SDK that doesn't seem to exist)
error log:
--- stderr:
Compiling with an SDK that doesn't seem to exist: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
Please check your Xcode ...
0
votes
1
answer
23
views
How to get rid of "Shadow content" force injected by macOS safari for live text feature?
I'm creating a site that uses imagemap using React. However, in Safari, because of Live Text feature, it won't make me interact with images when there is text in it. I found that Safari injects "...
0
votes
0
answers
18
views
Capture all inbuilt trackpad events and cancel some touch events
I'm trying to capture all trackpad events at OS level and disable few of them - say the ones in left half of trackpad. Following this question, I could level listen to events in current window view ...
0
votes
0
answers
19
views
How to include OpenMP libraries in CPack package on macOS?
I am getting familiar with CMake and CPack, but I can't figure out how to solve the following issue when creating a macOS package.
I have some C++ code using OpenMP:
#include <iostream>
#include ...
0
votes
0
answers
32
views
How can I define my MacOS app's behaviour depending on the Focus Setting (Do Not Disturb)
I'm trying to define my MacOS app behaviour depending on if Do Not Disturb is enabled. If it is, my app will avoid opening new windows automatically or else it will open new windows resembling ...
-3
votes
1
answer
28
views
VS-Code 1.91 does not open on my big sur 11.7. How do i get to use v-scode updates on older Mac OS [duplicate]
I just downloaded the VS Code update 1.91 and it does not work on Big Sur Mac Os 11.7. Is this intended or its just an oversight. How can i use future updates for vscode on bigsur. Has anyone else ...
-3
votes
1
answer
31
views
how to fix "The preLaunchTask 'C/C++: clang++ build active file' terminated with exit code -1." [closed]
Every time i try to compile and run a program, the error "The preLaunchTask 'C/C++: clang++ build active file' terminated with exit code -1."
shows up. Im using vs code on a apple silicone ...
0
votes
1
answer
29
views
How to create a PythonMmac app using Pyinstaller?
I created an app using Py2App for Mac. The app works fine through the terminal, but not through the double click. So now I am trying to use PyInstaller after reading some of the questions here.
I am ...
2
votes
1
answer
46
views
CGImage.crop(to:) returns a weird crop on MacOS
I was facing a weird behavior while using the method CGImage.crop(to:).
My goal is cropping a user face using the apple vision-framework to train AI-based models on it, but while running the vision on ...
-1
votes
0
answers
20
views
.NET launch profile issues on Mac with VS Code
when I entered 'dotnet build', it shows 'Build Success'.
And then, if I enter 'dotnet run' there are an error message like that:
The launch profile "(Default)" could not be applied. A usable ...
-2
votes
0
answers
23
views
Not able to use git on VScode [closed]
I am not able to use git on VScode, even if I've correctly installed I see "Download Git for MacOs" on VScode
I've correctly installed git on my Mac (I checked from the terminal using which ...
-2
votes
0
answers
16
views
Angular grid running issue specifically for my mac intel
Why red line is coming in template of angular grid
I want this grid to be printed in my server but it is not happening I have listed all important libraries but still I am using mac os intel in my ...
-4
votes
0
answers
19
views
Why am I not able to run airflow scheduler on my local
I am working on Mac OS Intel and tried to install airflow on local. Initially everything was working fine. airflow webserver as well as airflow scheduler. I accidently closed my terminal on Pycharm ...
-1
votes
0
answers
10
views
OpenVINO does not support the following ONNX operations: SequenceConstruct, ConcatFromSequence
MODEL_YOLOV8_PATH = 'yolov8x_person_face.onnx.prototxt'
WEIGHT_YOLOV8_PATH = 'yolov8x_person_face.onnx'
MODEL_MIVOLO_PATH = 'mivolo.onnx.prototxt'
WEIGHT_MIVOLO_PATH = 'mivolo.onnx'
...
0
votes
1
answer
35
views
SwiftUI fileExporter for package documents
While I'm able to use the fileExporter() modifier to export in-memory documents, i.e. single file document (.txt, .jpg, ...) and also for custom file types (after registering them in the project ...
-1
votes
0
answers
21
views
macOS - can residual network volumes be removed/restored in /Volumes without rebooting the system?
I have a series of SMB volumes mounted on a single Mac machine - some are resources on a LAN (ex: SMB_Loc), and others are mounted over a VPN (ex: SMB_Rem). If there is ever a connectivity issue, say ...
-1
votes
0
answers
23
views
ld: symbol(s) not found for architecture arm64 on Apple Silicon M3 [duplicate]
I'm brand new for C++, and I met the bug bother me for few days and desperatly for the answer:
I'm using macbook pro 2023 (Sonoma 14.5 M3 Max) and VS code. And here is my code:
main.cpp
#include<...
0
votes
0
answers
34
views
Using Pyadomd with Mac (or alternate way to query SSAS)
I'm trying to query data from a SSAS data model. A coworker shared some code what works on Windows and looks pretty similar to the documentation on the pyadomd docs which looks something like this:
...
0
votes
2
answers
29
views
How to make MacOS terminal to emit a warning from a SSH session
I run some lengthy scripts over SSH, using the default MacOS terminal application. Usually, I leave this terminal running and change virtual desktops, only to forget I left this running.
I would like ...
-1
votes
0
answers
23
views
Support for Paste in an iPad app on the Mac
I have an iOS app that accepts images to be pasted into it through a SwiftUI PasteButton. It works fine on iOS. When I run it on macOS (Designed for iPad) I cannot paste - the PasteButton is missing, ...
0
votes
1
answer
65
views
Azure DevOps Microsoft hosted MAC agent - XCode account signing
This is about the Automatic signing mobile app using an MS-hosted MAC agent -> Methods using Xcode, Fastlane, or cmd pipeline tasks.
I saw several posts and understand that I can upload profiles ...
0
votes
0
answers
24
views
I can't run my flutter project when I try to integrate with firebase on MacBook with Xcode
I'm using Mac and I can't run my flutter project if try integrate with firebase.
I can run the first flutter project easily with the Xcode simulator(iPhone 15), but when configure the firebase to my ...
1
vote
0
answers
35
views
symbol not found in flat namespace '_bcp_batch'
I'm using pyenv to manage my python versions.
When i use python 3.12.4 or python3.9^, i get this error:
File "src/pymssql/_pymssql.pyx", line 1, in init pymssql._pymssql
ImportError: dlopen(...
0
votes
0
answers
43
views
Using xcode in CI/CD Google Platform
Im trying to build a CI/CD for flutter development. I'm making use of Google Cloud Cloud Build.
I already have all the setup of the Cloud Build done (with trigger), I'm using cloudbuild.yaml in order ...
-1
votes
0
answers
18
views
IntelliJ on apple: How to reopen projects in separate windows
I always open IntelliJ projects in separate windows. When I reboot my Mac, it reopens all projects, but they all open within 1 window.
Any ideas how to let IntelliJ re-open projects in separate ...
-4
votes
0
answers
38
views
I'm trying to use the multiprocessing module on my MacBook to parallelize some computations. On macOS, it throws a RuntimeError [closed]
My code works perfectly on Windows, but on macOS, it throws a RuntimeError. Here’s a simplified version of my code (my python version is : 3.10.9 ):
import multiprocessing as mp
def worker(num):
...
1
vote
0
answers
49
views
Deploy iOS MAUI App to Mac? (Not MacCatalyst)
I'm not sure if this is can even be done, but is it possible to deploy the iOS version of a MAUI app to the local Mac I'm developing on?
I'm not referring to MacCatalyst, I want to run the iOS version ...
-3
votes
0
answers
78
views
GCC not compiling any source codes [closed]
I'm using Clion and GCC on macOS Sequoia. And, when I tried to compile a source code, it keeps making this compile error.
GCC version : gcc (Homebrew GCC 14.1.0_1) 14.1.0
Apple Clang version : Apple ...
-1
votes
0
answers
19
views
none of any codes not running on my Mac terminal [closed]
basic codes like mkdir or ls not working on my terminal
my terminal broke after I install homebrew
these lines come up when i open terminal:
Last login: Wed Jul 10 00:40:28 on ttys000
/etc/zshrc:7: ...
-1
votes
0
answers
17
views
AttributeError: 'gi.repository.Gtk' object has no attribute 'Container' - Intel Mac
I've been trying to run a python program (https://github.com/thaines/helit/tree/master/handwriting) on my Intel Mac and I've had some problems installing the dependencies. I've gone back and forth ...
0
votes
0
answers
38
views
lldb fails to launch a process
I rely on lldb to fine-tune and study my code optimizations as an applied math instructor, and somehow, probably upgrading either macOS to 10.13.6, or the last compiler suite from Apple for that ...
-3
votes
0
answers
22
views
Why is Nginx listening to both port 8080 and 8081 on my mac? [closed]
When I try to access http://localhost:8080/ and http://localhost:8081/ on my browser, they both will show Nginx homepage.
I tried nginx -s stop and made sure ps -ef | grep nginx has nothing except the ...