Category "macos"

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

How can I use the AVAudioSEssion in a swift package when the package could be used by Macos?

import Foundation import AVFoundation @available(iOS 14, *) extension AVAudioSession { class func set(category: AVAudioSession.Category = .playback) {

How to encapsule the following AutoHotKey statements into functions?

I'm using Barrier to control a Windows machine from macOS, and I would like to remap Windows key to Command key to perform more efficient shortcuts. Traditional

MacOS: reading shared preferences in Swift and ObjectiveC

I have a project that mixes Swift and objective c. The controller for my preference panes is written in Swift. I can’t seem to read those preferences in O

Tkinter button background color is not working in mac os

I am trying to change the bg color of a tkinter button on my mac (catalina) but instead of getting a colored background, it is showing a blank space in the layo

Prevent NSTimer from firing when in sleep / PowerNap

How can I prevent a (slightly non-standard) NSTimer from firing on macOS, when the MacBook's lid is closed and the machines is supposed to be at sleep? Or more

Error installing python 3.7.6 using pyenv on new macbook pro M1 in OS 12.3+

I am struggling to install python version 3.7.6 using pyenv on my new macbook pro M1 running on mac os 12.3.1. My configuration $ clang -v Apple clang version 1