118,473 questions
Advice
0
votes
2
replies
66
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
0 answers
80 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
47 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
320
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 0
1 answer
87 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
106 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 -4
0 answers
59 views
How to copy-paste text and preserve unbreakable spaces and tabs [closed]
I am working within an X Window System ( XQuartz ) on macOS environment.
I am not sure that the macOS environment might be a deciding factor in this problem.
I use a lot of files using unbreakable ...
Score of -3
0 answers
58 views
Can't drop new views on main view in Xcode 26 [closed]
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 ...
Score of -1
1 answer
81 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
131
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
514 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
149 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
98
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
89 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
116 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/...