Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
19 views

I wrote a Swift macOS app to control a PCI audio device. The code switches input and output channels by default. As soon as I launch the Audio-Midi Setup utility and switch channels, my code stops ...
Purgen's user avatar
  • 11
0 votes
0 answers
48 views

I'm building a macOS app using SwiftUI, and I want to create a draggable floating webcam preview window Right now, I have something like this: import SwiftUI import AVFoundation struct ...
Zaid's user avatar
  • 451
-2 votes
0 answers
29 views

I have a 2011 MacBook Air (11″ Mid 2011 or 13″ Mid 2011) that currently only has Windows installed. I want to completely remove Windows and install macOS High Sierra (10.13.6). Here’s my situation: My ...
hub il's user avatar
  • 1
0 votes
0 answers
21 views

I am trying to create a Launch Daemon that launches whenever I log in. I know that launch agents are better suited for this job, but I want to accomplish it with a launch daemon instead because It's ...
tandem1032's user avatar
0 votes
1 answer
34 views

I'm building a dotnet maui application. One of the targets that I am using is Mac OS X maccatalyst. My app consists of a hybrid web control that goes into the safe area with negative top margin so ...
chris's user avatar
  • 83
2 votes
0 answers
71 views

Alright, so bear with me. This took me an entire day to dig into. what I'm doing I'm running a C program on a remote host over SSH. The program calls a local redis database IP and port and also 8.8.8....
NorseGaud's user avatar
  • 801
1 vote
0 answers
28 views

I'd like to write a MacOS App that makes use of the ASAM functonality as described here: https://developer.apple.com/documentation/devicemanagement/autonomoussingleappmode I have tried to use the ...
Vic Nightfall's user avatar
0 votes
2 answers
95 views

I’m trying to build an image carousel similar to the one in the App Store, but I'm a facing a lay-out issue. The carousel should: Automatically adjust its height based on its content Automatically ...
Hozen's user avatar
  • 89
2 votes
0 answers
119 views

I just started using neovim. I could get the lua language server to work but not the rust language server (rust-analyzer). When I open a rust file like hello.rs I get the error LSP [rust_analyzer] ...
edamondo's user avatar
  • 189
0 votes
0 answers
56 views

I’m building a React Native 0.72.10 iOS app and hitting build errors. Environment: macOS: Apple M4, Sequoia 15.7.2 Xcode: 26.1.1 React Native: 0.72.10 Errors: Could not delete /Users/.../ios/build ...
sangami vivekanandan's user avatar
Advice
1 vote
5 replies
79 views

I created test project - "TaoTester" and test package with C-library called "SwiftGit2". After few days of work in package almost all works fine.... EXCEPT: I cannot link C-...
Andrew's user avatar
  • 11.9k
-4 votes
0 answers
27 views

I've been using some macOS apps like Alcove (a notch app) and Liqoria (mini player) that can put mini players and some other small widgets on the macOS Lock Screen such as weather or calendar elements ...
Jesús Martínez's user avatar
-2 votes
0 answers
74 views

I have just been looking at vmmap. It works nicely with dynamically linked executables using mmap. However, for a statically linked executable I get nothing of any use. Even the load address is ...
Paul Floyd's user avatar
  • 7,180
-1 votes
0 answers
113 views

I’m working on a C++ project in CLion (macOS, Clang compiler). My CMakeLists.txt explicitly sets the C++ standard to 20: cmake_minimum_required(VERSION 3.16) project(CourseWork) set(...
Dzyn's user avatar
  • 15
-1 votes
0 answers
63 views

I am creating a button that is clickable but doesn't bring the app to the foreground. To achieve this I implemented the button as a separate BrowserWindow with focusable: false and its parent set to ...
Sudhanshu Tiwari's user avatar
-3 votes
0 answers
32 views

import AppKit import objc from Cocoa import NSColor, NSFont, NSBezierPath, NSAttributedString, NSForegroundColorAttributeName, NSFontAttributeName class OverlayContentView(AppKit.NSView): def ...
DwangML's user avatar
1 vote
1 answer
58 views

on macOS26 / 26.1 Tahoe the Toggle stopped being colored / tinted by using modifier .tint(toggleColor()) it just remains with the current system color... e.g. blue or the tint central to the whole ...
Peter Lapisu's user avatar
  • 21.2k
2 votes
2 answers
336 views

m getting an SSL error when making an HTTPS request in a Rails controller (Ruby 3.1.6): OpenSSL::SSL::SSLError in PurchaseAttemptsController#create SSL_connect returned=1 errno=0 peeraddr=3.175.45.47:...
Arnold Roa's user avatar
  • 7,796
-3 votes
0 answers
34 views

I am using Mac 14 and the highest version of Xcode that I can install is 16.2 And it comes with the bundled swift component - 6.0.3 version. But my project requires swift 6.2 or later. I was able to ...
Pavlo Pylypchuk's user avatar
1 vote
0 answers
29 views

I setup a clean MacOS Tahoe (26.2) project with this code import SwiftUI import AVKit @main struct TestVideoApp: App { let player = AVPlayer(url: URL(string: "https://www.w3schools.com/...
workingdog support Ukraine's user avatar
0 votes
0 answers
27 views

I'm building a macOS app in SwiftUI and I'm trying to load a folder called Wallpapers that I added to my Xcode project. The folder contains subfolders (categories) and each category contains wallpaper ...
Zaid's user avatar
  • 451
1 vote
1 answer
56 views

I'm trying to create a SwiftUI Menu containing two Picker to control content and sort. However, I cannot replicate menu appearance shown in my reference screenshot. No matter which approach I try, I ...
Anton Genkin's user avatar
1 vote
1 answer
82 views

I’m building a macOS video editor that uses AVComposition and AVVideoComposition. Initially, my renderer creates a composition with some default video/audio tracks: @Published var composition: ...
Zaid's user avatar
  • 451
-1 votes
1 answer
127 views

I'm using Xcode Cloud to build for internal TestFlight testing. But it stuck in Archive. No warning or error. Unable to complete the workflow. I haven't encountered this problem in my previous builds. ...
Woody's user avatar
  • 77
0 votes
1 answer
75 views

This is what I want to achieve for the sidebar toggle button: When hovering: When not hovering: This is what I have now (macOS 26): When hovering: When not hovering: I want to remove the border ...
0xh8h's user avatar
  • 3,599
0 votes
0 answers
42 views

I am building a macOS SwiftUI app from scratch that needs to install a privileged helper tool using SMAppService. I have followed Apple's documentation and sample code ("...
Chirag Patil's user avatar
-1 votes
0 answers
101 views

I'm trying to setup a NSSplitViewController to match Xcode 26's style. In Xcode the sidebar contains the traffic light controls. I've got the following code: import Cocoa // UserDefaults key for ...
Kyle's user avatar
  • 17.7k
-3 votes
2 answers
143 views

I get this error: "message": "Malformed UTF-8 characters, possibly incorrectly encoded", This is my real id with UUID in the database: 944CC79D-5980-4587-8A52-000A2F11D7D1 ...
Fajar Alam's user avatar
-1 votes
1 answer
77 views

I'm a C++ newbie trying to create my first makefile, and I'm getting the error: unknown type name 'all'. The makefile is literally just: all: clang++ helloWorld.cpp admin@admins-Mac-mini Desktop %...
rmoss3475's user avatar
  • 101
-4 votes
1 answer
78 views

How to make it possible to place the buttons slightly below and to the right of a regular window without using (toolbar, navigationSpitView, etc) like in the Chrome or FireFox browsers the image ...
Evgeniy Petrukovich's user avatar
-1 votes
0 answers
34 views

The issue I'm having is that, even though scrolling with the trackpad and the drag gesture both work to flip through pages in the scrollview, the animation when landing on a page is jerky and not ...
KaliforniaGator's user avatar
0 votes
0 answers
32 views

In MacOS app I need a transparent textfield, that shows only editable text and nothing else. I am using SwiftUI, but to achieve this, I have created NSViewRepresentable for NSTextField. This is how my ...
Kaven's user avatar
  • 491
1 vote
1 answer
53 views

I’m trying to install an R package (specifically tess3r) using devtools. I keep running into this ‘iterator’ file not found error. I am using R version 4.3.1 (I know it’s not the latest version, I’ve ...
c_pugliese's user avatar
-4 votes
1 answer
138 views

I'm doing an ultra-simple web page scraper using Python/Beautifulsoup. Facing a key information displayed as PNG image, I've had to reach for PIL/Pytesseract. Code being extremely simple, and working ...
tishma's user avatar
  • 1,873
-3 votes
0 answers
49 views

I am using the new AttributedString in Swift 26 with a TextEditor in dark mode to track selections for a qualitative data analysis tool. ISSUE: In dark mode, the highlight colour inherited from system ...
Bhorda's user avatar
  • 15
3 votes
1 answer
102 views

I am trying to replicate how professional video editing apps like final cut pro shows and update the video player in real time based on user configuration in the editing settings. For example, I am ...
Zaid's user avatar
  • 451
0 votes
0 answers
35 views

Consider the following expect program, designed to log a full terminal interaction: if { [info exists ::env(RAW_LOG_FILE) ] } { log_file $::env(RAW_LOG_FILE) } eval spawn $argv interact When I run ...
merlin2011's user avatar
  • 76.5k
-1 votes
0 answers
82 views

I am making a Brainfuck clone and my interpreter isn't working: // _ dicrement the instruction pointer by 3 if the current cell value is 0 // <, >, +, -, ,, . are the same as in bf .global ...
Isaac Luft's user avatar
5 votes
1 answer
69 views

I'm brand new to Assembly, and I'm trying to figure out how to get my fibonacci program to work. However, it only prints 0's, no matter what I put in the x1 register. What am I doing wrong (or ...
Thomas Gorgij's user avatar
0 votes
0 answers
58 views

In the terminal's settings screen, I can export and import themes easily using the GUI. How can I import a previously exported theme programatically?
Chris Foley's user avatar
0 votes
1 answer
59 views

How can I change the background colour of a macOS Terminal theme using the command line? I can see all the themes using: defaults read com.apple.Terminal "Window Settings" The output lists ...
Chris Foley's user avatar
0 votes
0 answers
36 views

I am trying to create buttons for my player, however, I am getting a squeezed buttons even though I assigned even width and height in appkit NSButtons. This is the final result I am getting: private ...
Lisa's user avatar
  • 1
Advice
0 votes
0 replies
34 views

On Linux, I can use tools like vmstat 1 2 or read from /proc/stat to measure the total and average number of context switches over a given time interval (for example, 1 second). Is there an equivalent ...
Ayush Sharma's user avatar
1 vote
0 answers
73 views

I am trying to create a unified toolbare for my macos app using SwiftUI. In the apps main thread I used this modifier :- import SwiftUI import AppKit @main struct PhiaApp: App { var body: some ...
Zaid's user avatar
  • 451
1 vote
0 answers
49 views

I've been hobby writing a little budget tool for myself over the last few months, and have finally gotten some ok functionality. Decided to polish it a bit and make it act more like a GUI app. Running ...
zoagold's user avatar
  • 21
-4 votes
0 answers
22 views

I have built a screensaver for mac in swift,but couldn’t find how to add an icon(the logo image that shows up on .saver file) and thumbnail(the cover image that shows up in the screensaver catalogue). ...
Akash's user avatar
  • 1
Best practices
1 vote
0 replies
54 views

Animations and typing delayed (no WebRTC) I’m building a Remote desktop app for macOS, where the screen is captured, H.264 encoded, and streamed to a web client using SignalR. For some reasons I ...
Mohammad Aamir's user avatar
0 votes
1 answer
111 views

I want to create a unified title bar for my macOS app in SwiftUI. Right now, by default, it gives the title bar and the window control options at the top and our content shows below it. Now, if we ...
Lisa's user avatar
  • 1
0 votes
1 answer
87 views

Is it possible to unselect an item in a SwiftUI List on macOS? What I would like is for the selected item to be unselected when the user clicks on the selected item. Here is some code: @State var ...
mstrsn's user avatar
  • 61
Tooling
0 votes
1 replies
54 views

I wanted a way to draft an SMS message on macOS from within my text editor -- and then launch to Messages with a Service item in the Services menu (right-click). After the text is in Messages, I type ...
BobK77's user avatar
  • 121

1
2 3 4 5
2374