118,487 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Score of -1
0 answers
27 views
Can't drop new views on main view in Xcode 26
I created a new MacOS application project using Xcode 26.2 and am trying to add new views to the main view in the view controller scene but when I drag from the Library window it no longer allows me ...
- reputation score 17
Score of -1
1 answer
68 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 ...
Score of -4
0 answers
81 views
Homebrew error: "Can’t install the software because it is not currently available from the Software Update server." [closed]
While installing git, while home brew. According to the tutorial, we first need to copy the line of code from the homebrew page, which goes like /bin/bash -c "$(curl -fsSL https://raw....
- reputation score 1
Score of -4
0 answers
61 views
Homebrew installation error: "Can’t install the software because it is not currently available from the Software Update server." [closed]
While installing git, while home brew, which i accidentally interrupted the session by clicking enter before the installation, now i am not able to download home brew anymore, because my old files are ...
- reputation score 1
Advice
1
vote
3
replies
124
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.
...
- reputation score 615
Score of 10
1 answer
497 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 ...
- reputation score 49647
Score of 3
0 answers
148 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:
...
- reputation score 1110
Best practices
0
votes
0
replies
95
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
87 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
1 answer
97 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
46 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 ...
- reputation score 305
Score of 1
0 answers
151 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
43 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
28
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 ...
- reputation score 10678
Advice
0
votes
3
replies
123
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 ...