Category "macos"

Cross-platform method to detect whether /dev/tty is available & functional

I have a bash script from which I want to access /dev/tty, but only when it's available. When it's not available (in my case: when running my script in GitHub A

The virtual machine 'vagrant' has terminated unexpectedly during startup with exit code 1 (0x1)

Hello i want to run my project with vagrant. When I use the vagrant up command I get the following error. I was running it before but when I tried it today I go

VSCode does not let me set cwd in launch.json for debug

I've been using this setting in MacOs for a while without any problem, but since I changed to a new computer (MacOs M1) I can't make this work. Here is my confi

Bootstrap failed: 5: Input/output error while running any service on macOS Big Sur version 11.5.2

I am trying to run [email protected] service using brew services start [email protected] (facing similar error, while running httpd service or any oth

MacOS desktop background won’t change

I was playing around with a python script that downloads and changes the wallpaper, and suddenly the wallpaper went black and won’t change even through th

Bundle application is defined as damaged on Mac M1 after uploading on drive and redownloaded

When I compile ioquake3 (or others bundle) on my Mac M1 and then I upload it on google drive (or others drive site), if I redownload it, it will always says tha

Ruby (or FFI?) error when executing Jekyll commands

I want to create a new Webpage using Jekyll, but when I execute jekyll new <page>, Ruby crashes with a really long Crash Report that starts like this: /Li

How do I get rid of the default macOS menu items in wxWidgets?

"Toggle Sidebar" is the only item I have added, how do I remove the other items which I don't really need? I'm stuck I'm on macOS 12.2 with wxWidgets v3.1.5 her

Restoring macOS window size after close using SwiftUI WindowsGroup

By default, on a macOS app using SwiftUI the window size is not restored after the window is closed. Is there a way to keep whatever size & position the use

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