118,461 questions
Score of -3
0 answers
36 views
Windows 10 iMac Stuck in Boot Loop & -3001F Error (No USB, Ethernet Not Detected) [closed]
An iMac running Windows 10 that I wanted to use as a monitor at my internship crashed while installing the "Wireless Display" feature and is now stuck in an Automatic Repair blue screen boot ...
Score of 0
0 answers
65 views
macOS menu bar app killed by cache_delete with 0xBADDD15C despite disabling automatic/sudden termination [closed]
I have a macOS menu bar app. It is a SwiftUI app using MenuBarExtra, with LSUIElement = true.
After the app has been launched and running for a short time, the system sometimes terminates it. There is ...
Score of 0
0 answers
76 views
How to resolve the "Failed to build cache" build error in Xcode on macOS running in Docker in the docurr/macos project?
I usually program in Android Studio, but for my first KMP project, I installed macOS in Docker in the docurr/macos project, copied my project to the macOS Documents folder, and developed it in Xcode. ...
Score of 0
1 answer
165 views
Kotlin Multiplatform quickstart - Chrome won't display sample "webApp [wasmJs]:"
Created "Kotlin Multiplatform quickstart" for a "web":
https://kotlinlang.org/docs/multiplatform/quickstart.html
Using:
IntelliJ IDEA 2026.2 Build #IU-262.8665.258, built on July ...
Score of -3
0 answers
61 views
Problem making a symlink in / using /etc/synthetic.conf in Sequioa 15.5 [closed]
This is in Macos Sequioa 15.5.
I have this folder
/Users/max/work/charanga/elearn_container/fake_ebs
and i want to make a symlink to it called ebs in /, so /ebs will link to /Users/max/work/charanga/...
Advice
0
votes
2
replies
70
views
How to compile the source code of CrossOver on Mac?
I downloaded the source code from https://www.codeweavers.com/crossover/source but I don't know how to compile it. After extracting there are a lot of folders in it. Does compiling it requires manual ...
Score of 3
1 answer
97 views
AVPlayer Audio Reverse Scrubbing
I have an audio player app on macOS built on top of AVPlayer, I want to add the ability to scrub the audio, and hear the audio frames based on the playhead's position whether going forwards or ...
Score of 0
0 answers
50 views
Can XX.Designer.cs be autogenerated from XX.resx in Visual Studio Code MAUI?
I have brought over a Visual Studio MAUI solution to VS Code on Mac. When I build, AppResources.Designer.cs is not auto-generated from Resx/AppResources.resx. Everything works with a pre-existing ...
Tooling
3
votes
26
replies
356
views
Is Windows required for C#?
I’ve started my software learning journey with C#, but the courses on YouTube and Udemy consistently proceed using Windows PCs. I use a MacBook Air, so I’m unable to build the Windows Forms ...
Score of -2
2 answers
122 views
Is it even possible to send messages from macOS App to the background script of a Safari Extension
I'm working on an application.
My main intent for now is to make the App communicate with a Safari extension so that they could trigger things on the browser.
However I'm having an issue with the ...
Score of 2
0 answers
111 views
Unexpected case-insensitive collation on some macOS machines with locale library
I am experiencing different results with the locale library on macOS. Consider the below C program:
#include <stdio.h>
#include <locale.h>
#include <wchar.h>
#include <wctype.h>...
Score of -1
1 answer
84 views
npm create vite and npx commands hang indefinitely only in VS Code integrated terminal
I'm facing an issue on macOS where npm/npx commands hang only inside the VS Code integrated terminal, while the exact same commands work perfectly in the native macOS Terminal.
Environment:
macOS
VS ...
Advice
1
vote
3
replies
137
views
Are there any ways to prevent app record/capture on macOS
I'm looking for a way to prevent my app from displaying in screenshots and screen recordings. There appears to be plenty of options for UIKit/iOS but nothing I can find for macOS.
...
Score of 11
1 answer
524 views
Dynamically link against C library under macOS
I have a C interpreter that I'm trying to get working again under modern macOS. I want to use dlopen() to open the C library .dylib file, so that I can call functions like printf() dynamically.
Once ...
Score of 3
0 answers
151 views
How can I apply focus styling to an entire search view when the TextField is focused?
I'm currently adding macOS and visionOS support to my SignDict. Everything looks perfect on iPadOS, but I'm seeing an issue on macOS.
I have a custom search view in the SwiftUI with a ToolbarItem:
...
Best practices
0
votes
0
replies
101
views
Replacing mouseDown with drag gesture recognizers (adapting for touch input)
The general advice from WWDC26 is to move away from overriding mouseDown: or using own event tracking loops.
While something as simple as if ([event clickCount] == 2) { can be replaced with ...
Score of 1
0 answers
90 views
Swift - MacOS - Audio input timestamp overlaps or precedes prior audio input
I am getting an error that I am not able to see any resource around the internet for. I tried a lot of different things but none are able to resolve this issue: Audio input timestamp overlaps or ...
Score of 1
2 answers
122 views
"unsupported mach-o filetype (only MH_OBJECT and MH_DYLIB can be linked)"
I am converting a project from Qt5 to Qt6.11 on macOS using QMake.
My .PRO file specifies:
QT += core gui help uitools widgets printsupport network xml sql
Platforms.files += $$(QTDIR)/plugins/...
Score of 1
0 answers
58 views
macOS 26: keep a captured window's content live while it's on an inactive Space (ScreenCaptureKit returns blank frames for video)
I have a macOS menu-bar app (Swift, macOS 26.5, Apple Silicon, SIP enabled) that "pins" a live thumbnail of another app's window in a small floating NSPanel. The panel uses ...
Score of 2
0 answers
156 views
How can I get wxUIActionSimulator to work on Mac?
I need help getting wxUIActionSimulator to work. I have a simple test that checks whether wxEVT_ENTER_WINDOW is registered; I squeezed it in App::OnRun() for simplicity:
int App::OnRun()
{
App&...
Score of 0
0 answers
46 views
Spotlight kMDItemPhysicalSize nulls on some .app bundles
Where does kMDItemPhysicalSize come from for .app bundles?
I'm building a Mac utility that uses mdfind -attr kMDItemPhysicalSize as a fast size-hint source for .app bundles in /Applications. On my ...
Advice
0
votes
0
replies
32
views
Managed Asset Pack not found by TestFlight reviewer
We have a managed (i.e., Apple-hosted) on-demand asset pack (via Managed Background Assets) that we download at the start of our iOS/macOS app. We first present the user with the download size and the ...
Advice
0
votes
3
replies
136
views
How to generate a dynamic macOS system-style NSImage icon from an SF Symbol?
I am trying to programmatically create custom, dynamic NSImage icons based on SF Symbols that look and behave exactly like the icons found in macOS System Settings (an SF Symbol centered inside a ...
Score of 1
1 answer
101 views
Problems using PyObjC to resolve aliases
I'm trying to use PyObjC (a bridge between the Python and Objective-C), version 12.1_3, to find the original file of a Finder alias, but I can't seem to get it right:
Python 3.13.13 (main, Apr 8 2026,...
Score of 3
3 answers
190 views
Match multiple keywords from cell A then return all matches in cell B
So I am trying to create a formula that will automatically match all of the keywords from a source cell with their corresponding ID codes, then return all of the matched ID codes in another cell. How ...
Score of 0
0 answers
55 views
Error rebuilding Spotlight indices with shell script
Spotlight wasn't finding stuff I knew was there, so I ran this Applescript:
do shell script"sudo mdutil -Ea"with administrator privileges
and got this error:
Error: CoreSpotlight reset ...
Best practices
0
votes
2
replies
66
views
Is Apple's UCCompareCollationKeys() a strong or a weak ordering?
I'm wondering whether the result of comparing collation sort keys (= already pre-processed strings for faster collation-compatible sorting/searching) is a strong or weak ordering. The implementation ...
Advice
1
vote
1
replies
192
views
Single sign-in for Google OAuth and Gmail in WebView on macOS
I’m building a macOS app in SwiftUI that loads Gmail in a WebView while also using the Gmail API for some additional features (e.g., unread counts, notifications, etc.).
Since Google Blocks OAuth ...
Score of 1
1 answer
149 views
How to get the form picker style without using form?
Form picker (no button, aligns to right).
Outside form, the picker .menu style aligns left and width expands to widest content in menu with button-pill as container for selections.
Is it possible to ...
Score of 1
1 answer
99 views
scrollTo( ... anchor: .top) not working as expected
I'm working on MacOS 26.1 and Xcode 26.2.
I'm wring a software simulator of a computer on Mac and want to have a panel that shows the current stack (which grows down). Note, my memory array is in ...
Score of 0
1 answer
107 views
Picker issue when selecting a nested Picker
I started with the following code which shows a Picker :
import SwiftUI
struct ContentView: View {
enum MenuOption: String, CaseIterable {
case sort = "Sort"
case search ...
Score of -2
1 answer
164 views
Chrome command-line switch --force-webrtc-ip-handling-policy not blocking IP leakage in Release build [closed]
I am trying to launch an isolated Google Chrome instance on macOS with a specific user-data-dir and proxy settings. My goal is to restrict WebRTC to only use the configured proxy (hide the real public ...
Advice
1
vote
3
replies
142
views
How to install pygame on Mac
I followed instructions found online but no luck with installing pygame on my Mac Mini. It was easy to install on my Windows based laptop but not so with Apple version of VS Code. The Apple version ...
Score of 0
0 answers
98 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 ...
Score of 2
1 answer
175 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 ...
Score of 0
1 answer
92 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
39
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.😣...
Score of 0
1 answer
103 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 ...
Score of 0
0 answers
53 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 ...
Score of 0
1 answer
759 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
56
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 ...
Score of 0
1 answer
48 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
58
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 (...
Score of 0
2 answers
73 views
NSMetadataQuery not returning relevant files
I want to use Spotlight to retrieve files. It should consider both the file name and the text content. However I get completely different search results than within the finder or with a manual mdfind. ...
Score of 0
0 answers
165 views
UE5 Enhanced Input: Subsystem reports "Mapping Context Added" but Debugger says "No mappings applied"
I am developing a game in Unreal Engine 5 (running on macOS with JetBrains Rider) and I'm running into a silent failure with the Enhanced Input system.
The Problem: My C++ logic for adding an Input ...
Best practices
0
votes
3
replies
92
views
How to handle option-drag in iOS version of multi-platform app?
The background:
As mentioned in previous posts, I'm rewriting an older Mac kaleidoscope generating app written in Objective C and OpenGL as a multi-platform macOS/iOS/iPadOS app in SwiftUI and Metal....
Score of -4
1 answer
164 views
Git case-sensitive filename issue on macOS causing duplicate files and deployment failures on Linux
I'm working on macOS (case-insensitive filesystem) and ran into an issue where renaming files only by casing caused problems in Git and deployment.
Example:
someComponent.jsx
SomeComponent.jsx
Locally ...
Score of 1
1 answer
151 views
tput command will fail when redirecting stderr to /dev/null inside a command substitution
Running tput cols inside a command substitution, while redirecting stderr always make it fallback to 80.
Unless I redirect it to a terminal device file
tput cols # Output: actual ...
Score of 2
2 answers
185 views
Why does this function see only 2 values when I send an associative array and 3 values when I send a normal array?
This is my function
#!/usr/bin/env bash
function run_aws_ssm_delete_parameters() {
local -r enable_logging="$1"
local -n parameter_names="$2"
shift 2
local -a ...
Score of 0
1 answer
569 views
Latest supported Flutter version for MacOS 12 Monterey
I've had Flutter installed on my mac since at least 2023 (version 3.13.8) and haven't been using it in a long time now. I tried upgrading (newest available 3.41.6) but it got me this error:
Building ...