Category "macos"

Creating a macos windowless menu bar application with SwiftUI

I am looking for a solution to create a macos windowless menu bar application with SwiftUI. I have implement the function ralated to the menu bar, the problem i

How to pass user setting to Driver Extension (MacOS)?

I am writing a driverkit extension whose goal is to block some categories of USB devices, such as flash drives. The driver should block (match to) any device of

How to add a post build event in MSBuild for .Net 6.0 on Mac?

How do I need to edit a *.csproj file to add a PostBuildEvent on Mac? I am trying the following but it doesn't work: <ItemDefinitionGroup> <PostBuild

Is there a way to get Slack's focused channel name programmatically in macOS/Swift?

Is there a way that macOS/Swift app can retrieve Slack's currently-focused Workspace name and channel name? So, given that Slack app is running, is there any wa

Updating SourceTree's browser.plist with non-existing repositories dynamically

I'd like to traverse some directories containing git repositories with my Bash script and add them to SourceTree's list if they don't exist already. I'd prefera

problem when fix error git : "Support for password authentication was removed", there are no github internet password in Keychain Access?

I installed git on my Mac and checked it on terminal by command git version, it showed me this : git version 2.35.1 So maybe it is ok. When I tried to push a f

How to enable AppleScript between Parent and Child applications within sandbox for Mac App Store?

I have a parent app that contains a child app in the bundle. The child app uses applescript to trigger some events in the parent app. Now that I'm preparing for

'async' call in a function that does not support concurrency swift ios Xcode async/await

I'm trying to use async/await with Swift 5.5. I have my async function, but whenever I try to call it, I get this error: 'async' call in a function that does

"ModuleNotFoundError: No module named 'dbus'" on macOS

I'm getting an error when I'm using the notify2 module. ModuleNotFoundError: No module named 'dbus' The error is from the notify2.py file. When I tried pip in

Xcode swift iOS project gives "usr/bin/python no such file or directory" error when try to build project

I am experiencing the problem after the macOS 12.3 Monterey update. I get the following error when I want to run the project. There is a code looking for "/usr/

Can't compile Bitcoin Core, because Boost library for C++ gives error when compiling

So, was trying to compile Bitcoin Core from source. I configured and downloaded all the dependencies I needed. But when compiling, Boost library for C++ gives w

R plot doesn't shows on Mac but the same plot shows on Windows

Yesterday I bought a Mac (M1 processor) and today I installed R and R Studio. I tried to plot the same code in a Windows machine and my Mac, but the plot only s

How to properly install pyodbc and drivers on M1 mac

I have a new M1 pro macbook and I'm trying to install pyodbc and relevant drivers on my machine. So far I have installed unixodbc via homebrew and ODBC drivers

Develop C# on Mac OS X Lion [closed]

Faced with the problem of programming on the Mac on the old version of the operating system Lion 10.7.5 in C#. Can anyone recommend an IDE tha

Docker kafka on MacOS M1 Issues stuck on configuring

I use macOS M1 Big Sur 11.2.3, but my kafka cannot running well and cannot create/list the topics. I don't know its because the OS or not, but the log for kafka

How to get the installer path/name from the MAC UI installer(.pkg) start page

We are trying to fetch installer path/name from the MAC UI installer before displaying the Custom nib file. Below are the options tried: hdiutil info -plist Get

M1 mac cannot run jboss/keycloak docker image

Switched to m1 mac a week ago and I cannot get my application up and running with docker because of the jboss/keycloak image not working as expected. Getting th

How to debug accessibility events that VoiceOver on macOS receives?

I'm working on getting VoiceOver to read out text updates in an unfocused widget - as part of this, I'd like to be able to see all of the events that the macOS

In a MacOS NSView, how to crop (circle crop) an MTKRenderView or MTKView?

This question is about NSView, not UIView. Thus, this question is about MacOS, not iOS. (It is trivial to crop anything in iOS. This question is about MacOS - N

Valet is not working with php.8 Nginx return Bad Gateway

Hi I have try to update php to 8.0 but always there a problem with valet to read the new version and I try to solve it without specific instructions but this ti