118,560 questions
-4
votes
0
answers
34
views
"Are you sure you want to continue connecting (yes/no/[fingerprint])" - is [fingerprint] the macOS fingerprint? [closed]
While doing:
ssh -i somekey.pem [email protected]
on a recent macOS, I see:
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Is [fingerprint] the macOS biometric ...
-2
votes
0
answers
36
views
Map cursor movement using an AXIS joystick [closed]
I'd like to know if there's a way, or software, to map mouse movement to the movement of a gaming joystick?
For example, if I move my mouse cursor to the top of the screen, I'd like it to correspond ...
-1
votes
2
answers
85
views
Mac App starts in light mode before switching to dark
I recently added a setting to my Mac app that allows the use to select between a light, dark, or automatic appearance. While this works overall, if you select dark and relaunch the app while the ...
0
votes
0
answers
59
views
Using ld on macOS to turn a raw arm64 binary into an executable Mach-O binary
I am working making an assembler that compiles bf code into an executable that can be run on macOS. Essentially, I run the compiler, which outputs a raw arm64 binary to output.bin (i.e., a binary that ...
-1
votes
0
answers
60
views
Mysterious error message: "Unable to obtain a task name port right for pid {_windowserver}: (os/kern) failure (0x5)" when calling newDocument() [closed]
I have recently restarted macOS Cocoa development, and I am running a M4 iMac with Tahoe 26.4.1, and using Xcode version 26.4.1 (17E202).
When my app starts, I get no error messages, but what triggers ...
2
votes
1
answer
105
views
Trying to use /usr/bin/gcc instead of Xcode clang for purposes of C++20
I'm attempting to use the gcc compiler installed at /usr/bin/gcc by homebrew on my MacBook running Tahoe. Every time I run it, it defaults to Xcode's clang instead. I am attempting to compile C++20 ...
0
votes
0
answers
75
views
How to consume a keyboard event for a global hotkey in macos [closed]
So i have a raycast like app and for the hotkey, i recently switched to using macos apis instead of https://crates.io/crates/global-hotkey because i needed the flexibility, and I switched to NSEvent ...
0
votes
1
answer
63
views
How do I programmatically exit a custom [NSApp run] method?
As the title suggests, I have been working on a cross-platform project where I want to create apps for the macOS backend programmatically (without Xcode) through a combination of C and Objective-C, ...
Advice
0
votes
0
replies
27
views
SourceTree cannot connect to the internal network on macOS
I updated to macOS 26.2, and then SourceTree was unable to connect to internal network addresses like “172.x.x.x”, although connecting to domains worked fine.
I spent a whole night figuring this out.😣...
0
votes
2
answers
87
views
User input Form alignment
I am working on a form to allow the user to enter some input. Here is my code:
import SwiftUI
struct ContentView: View {
@State private var searchString = "TEST"
@State private var ...
0
votes
0
answers
41
views
How can I invoke the Finder's interactive "Rename…" command?
The Finder has a "Rename…" (formerly "Rename X items…") command that offers interactive pattern match & replace:
I like to invoke this operation from my own program.
Is that ...
0
votes
1
answer
175
views
How do I fix launchctl "Bootstrap failed: 5: Input/output error"?
I have written a shell script that I want to run every time I log on to my Macbook, and I'm trying to execute it via launchd.
My script is not a persistent daemon, it's supposed to write some text to ...
Best practices
0
votes
0
replies
37
views
How to use "loupe" in macos "preview" beside an object? (not cover it!)
How to avoid of covering a magnificant object by the "loupe" tool in macos "preview"? There is now way / cheat to shift away over the zoomed target. Any LLM suggestions aren't ...
0
votes
1
answer
38
views
NSButton is not sending events
I've got a .NET Xamarin app running on Mac. It's been working fine, but I've been upgrading it to .NET 10 and macOS 26.
After the upgrade, I have one dialog that is acting weird. It's the popup to ...
Tooling
0
votes
2
replies
35
views
Feasibility of capturing system + mic audio in real-time for a desktop app (cross-platform)
Question:
I’m exploring the architecture for a desktop application that needs to:
Capture both microphone input and system audio (e.g. Zoom/Meet calls)
Process the audio stream in near real-time (...