All Questions
118,614 questions
Advice
0
votes
4
replies
41
views
Detect whether a Mac has a Touch Bar in SwiftUI (macOS / SwiftUI)
I am developing a SignDict for macOS app using SwiftUI and I am trying to support MacBook Pro (M1/M2) that have the Apple Touch Bar on the keyboard.
Some older models of MacBook Pro (Touch Bar models) ...
0
votes
0
answers
47
views
Mac OS X Cocoa: applicationDidBecomeActive not being fired
I'm making an app purely from code (so this is not a duplicate of this because the solution to that was configuring a nib file from XCode) and I want to detect when my application has become the main ...
-3
votes
0
answers
61
views
.NET 10 MacOS Development Environment
On my friend's MacOS system, .NET 10 isn't recognizing that it should be running in the Development environment. Executing:
dotnet run --project ./Path/To/Project.csproj --environment ...
-5
votes
0
answers
79
views
Script for disabling mac OS daemons/features (Siri, Apple Intelligence, Liquid Glass, telemetry,etc) on M4/M5 [closed]
I’m trying to optimize M4 Mac Mini to make it run faster by reducing background tasks that I don’t use
things to disable:
Siri / Assistant
Apple Intelligence / Smart Suggestions
Liquid Glass / ...
2
votes
0
answers
52
views
How to test for Apple's MacOS libc version using C preprocessor?
I have an application that benefits from (but does not require) posix_spawn. I have some trouble deciding how to check for MacOS libc version (to see if it includes posix_spawn) using C preprocessor. ...
0
votes
0
answers
35
views
pecl install Mosquitto-alpha fails on macOS for lack of cjson/cJSON.h
I am trying to install Mosquitto-alpha on my MacStudio running Tahoe 26.2 (25C56), the goal being to use mqtt in PHP scripts. PHP 8.5 was installed via homebrew and is working as expected. Mosquitto 2....
0
votes
0
answers
22
views
Why does NSOpenGLView self.wantsBestResolutionOpenGLSurface = true crash macOS 10.13?
Ok, this is a question about long-deprecated code. As mentioned previously, I'm resurrecting an old Objective C Mac app written with OpenGL, to buy me some time to rewrite it in Swift/SwiftUI and ...
0
votes
1
answer
72
views
OutlineGroup with SwiftData
My SwiftData model consists of a model entity named Entry. Currently I display these in a List:
@Model
final class Entry: Decodable, Identifiable {
var fullName: String = ""
// ...
}
...
Advice
0
votes
0
replies
54
views
Apple Distribution: Multilingual app definition
How to configure localizations in Flutter app for iOS distribution? CFBundleLocalizations is not working as expected:
https://github.com/lyskouski/app-finance/blob/main/ios/Runner/Info.plist#L25
<...
0
votes
1
answer
115
views
Excel vba/macro file produces errors - cause: named ranges being copied? [closed]
I'm stuck on the following. I have an Excel file with macro/VBA code in which I perform a number of operations, such as filtering, copying and pasting the filtered values into a new file. Nothing too ...
-2
votes
0
answers
47
views
macOS app icon shows as square instead of rounded squircle in Xcode 26 [closed]
I need to create my app icon for a desktop Mac app. I am using Xcode 26. So, I go to Assets.xcassets > AppIcon, and insert my 1024x1024 image in the App Store -2x. It’s a flat PNG with a white ...
0
votes
1
answer
85
views
macOS menu bar action
I have seen a lot of tutorials how to customize the menubar, but none of them I found explain how to implement an action, they used leave it as an "exercise for the reader".
For instance:
@...
0
votes
0
answers
107
views
R user library on macOS
I recently installed R 4.5.2 on a fresh install of macOS Tahoe 26.3.
When I run .libPaths() only the following library is returned:
[1] "/Library/Frameworks/R.framework/Versions/4.5-arm64/...
-3
votes
0
answers
45
views
kitty confirm_os_window_close -1 has no effect, still prompts for confirmation when closing on macOS [closed]
EDIT: Question moved to superuser
solution found: https://superuser.com/a/1935531/3250613
====
my kitty terminal asks for confirmation when closing terminal windows even though I set it to ...
0
votes
0
answers
57
views
NSTabView malfunctioning under MacOS Tahoe 26.3 [closed]
I have an app that has run successfully on MacOS for years. Suddenly under MacOS Tahoe 26.3 it's malfunctioning.
I have an NSViewController that contains a NSTabView. Here's what the view looks like ...