Category "macos"

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

Bootable USB Ubuntu issue [closed]

all. I was trying to download Ubuntu to a new and empty USB stick, from my Mac. After just a few small hiccups, this big hiccup occurred, and

Unable to install turtle module

Collecting turtle Using cached turtle-0.0.2.tar.gz (11 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python

Unable to cast Playlist to FolderPlaylist using obstmusic Java applescript wrapper for MacOS Music app

Trying to use https://github.com/japlscript/obstmusic to talk to Apple Music app on macOS with Java, I used to write native AppleScript and then java applescrip

Loading docx file into NSAttributesString not showing images (MacOS Swift)

I am loading docx data into an NSAttributedString, and then rendering it into an NSTextView. It mostly works, but it does not load the images, I checked the att

Rotation reverting on Mac display settings

I have four Dell monitors connected to Mac Pro. Rotation reverts to Standard for other displays if I change one to 90 degrees in System Preferences -> Displa

MacOS CoreAudio buffer playback produces annoying noise

MacOS CoreAudio buffer playback produces annoying noise between correct sound. I'm interested to play valid .wav data though the buffer. Why I'm playing a .wav?

cv2 SystemError when using webcam on MacOS

I am trying to run a very simple script using opencv, which should display frames from my webcam (on a 2019 macbook pro running OS Catalina) until interrupted.

Adding Python 2.7 to an app packet after macOS 12.3 does no longer include Python

Last year I got a PortJump packet from Codeweavers for an open source Windows software, not knowing that it uses Python 2.7 supplied by macOS < 12.3 only (P

Can I replace MariaDB with MySQL in Bitnami MAMP?

I am maintaining an old, large CakePHP project which relies on the JSON database column type. This type is supported by MySQL but not by MariaDB. Changing out t