Category "macos"

Switch Case not executing - No case is met

I have the following code to check which radio button is clicked by the user. @IBAction func text_radio_changed(_ sender: Any) { var text_position:Wa

How to turn off JetBrains IntelliJ bell sound?

I‘ve tried a lot of solutions on the web but couldn't find any to work for me. My OS: macOS Monterey What I've done already: IntelliJ > Settings > T

How to read do not disturb using applescript?

I am trying to read status of do not disturb or dnd using applescript. For some reason, it always return "1" no matter what if the dnd is on or off. do shell sc

How to pass passphrase of ssh in bash script? [duplicate]

I am discovering the bash scripting. I need to write a bash script to automatically connects my remote server with ssh. I am using MACOSX. I w

Errors when trying to use secp256k1 on Mac. 'clang: error: linker command failed with exit code 1 (use -v to see invocation)'

I'm starting learning C, but I seem to have failed in installing my first library. I'm using a Mac. I found a simple tutorial to get started: writing a program

Shell script within .app bundle errors out

I use a shell script named myapp.command to open an app such as the Microsoft PowerShell app: #!/bin/sh exec /usr/local/microsoft/powershell/7/pwsh The script

Are there any Events or Notifications to get notified when the macOS system is rebooted or OS updated?

Are there any Events or Notifications in Swift/Objective-C to get notified when the macOS system is rebooted or OS updated? We want to do something after the sy

Is there a way to export coordinates from the "Find My" app of a particular device?

I was wondering how it would be possible to automatically export the coordinates from the "Find My" app on macOS Monterey. (e.g. to an Excel sheet) I know that

git push stalls on macOS

after the last two updates of xcode I am having a really annoying problem with git. All commands but git push works perfectly. But git push stalls/hangs. This i

A coordinated install for com.co.myapp (not initiated by IXClientSimpleSPI) is already pending

I have an issue on my M1 mac when I try to debug on My Mac (Designed for iPad). It shows me below error: A coordinated install for com.co.myApp (not initiated

ERROR: While executing gem ... (Gem::Exception) OpenSSL is not available

I get this openssl error when trying to install/update any gem, although I have openSSL installed through brew install openssl. This can be frustrating but ther

Pygame installing but not running

I've uninstalled and reinstalled pygame multiple times using pip3 install pygame and it installs fine, but when I try to import it, it gives me a ModuleNotFound

How to detect Siri Remote 2 button presses on macOS?

There are apps for using Siri Remote 2 with macOS. (SiriMote, Remote Buddy). I want to create the same app myself, but I am stuck with detect button presses. I

Flutter can't install firebase onto macOS

I tried to install the firebase package for flutter. After running flutter pub add firebase_core It states "successfully installed". When I then try to import

How can I observe an array of CoreData objects in SwiftUI? [closed]

I am relatively new to SwiftUI and am having troubles finding a solution to a problem I have with my UI not updating when a change is made to

Error in installation of Octave on MacOS Monterey libgfortran.5.dylib

When I try to install Octave on MacOS Monterey I get the error below. It cannot find the libgfortran in the location it is searching for. But when I locate gfor

Endless generating dSYM in Fastlane

I develop iOS application and I use fastlane to distribute ad-hoc *.ipa. then I'd like to use integrate with CircleCI pipeline but I stuck in this step too long

switch wget from macOS to windows

I'm using the following script to check if a new file was uploaded to a specific adress on my Mac. gotta switch to a windows PC Any idea how to have the same fu

How to force close terminal window id using AppleScript?

I am starting a new terminal window from a terminal: osascript -e 'tell app "Terminal" to do script "myProgram.sh"' Since the new process is not ending(it is ba

Mac - include Python.h framework when compiling a cpp file

I'm currently building a cpp project which contains python code. To use embed python code in c++ the Python.h file from the Python.framework is required. Before