Category "macos"

How to sign and notarize a PKG within a Github Actions macos runner

Context I'm building a Github Actions job to build, sign and notarize a PKG file. I'm using an Apple Id account (the workflow needs username and password) as we

Could not find a version that satisfies the requirement tensorflow - python3.9 64bit

I'm trying to use Tensorflow for some federated learning purposes, but I can't successfully install it using pip. pip install tensorflow Error message I get is

Error Opening Cypress - macOS (CI/CD) Error choosing pixel format

I'm trying to add cypress to our CICD workflow. It's running in a self-hosted macOS builder runner (12.2.1) Any idea how to fix the error below? Opening Cypress

listen EACCES: permission denied 127.0.0.1:80 - macOS

I need to serve an angular app with specific --host flag and --port 80. I added the host to my /etc/hosts file but when i use command "ng serve --host local.xxx

.laz file not recognized by QGIS on Mac

I am trying to view a .laz file in QGIS 3.22. I dragged and dropped the .laz file into QGIS, but got the following error: LAS and LAZ files cannot be opened by

How to stop MacOS XPC service

Opening macOS Console and looking at the System Log i ran into this error message that keeps repeating itself indefinitely: com.apple.xpc.launchd[1] (com.macpaw

OS X: #include <CoreFoundation/CoreFoundation.h> leads to error: unknown type name 'dispatch_block_t'

$ cat t1.c #include <CoreFoundation/CoreFoundation.h> $ gcc t1.c In file included from /usr/include/dispatch/dispatch.h:51, from /System

What is the endian order of the host machine/device?

Actually the initial question was: "What exactly the kCGBitmapByteOrderDefault is?" Because sometimes CGImageGetByteOrderInfo(CGImageRef image) returns kCGBitma

/.zprofile:10: parse error near `$(/opt/homebrew/bin/...' keep on getting error while opening terminal on Mac

I tried to install JAVA_HOME path while adjusting (vi ~/.zshrc). Somehow, I messed up with existing file. I don't know how to fix it. I a bit newbie, so elabora

Unable to open url to the Mac App Store in an iOS app launched on Mac with Apple Silicon

I have this code to open a link to the App Store for the user to write a review: guard var urlComponents = URLComponents(string: "https://apps.apple.com/app/any

Framework doesn't build for macOS target: no such module 'SomeFramework' & failed to build module 'MyFramework'

Hello guys, I faced a weird problem with my framework imported into my app. MyFramework uses some other frameworks like OpenSSL etc. I build MyFramework with t

Focus on a TextField using a keyboard shortcut

I have a macOS Monterrey app that has a TextField on the toolbar. I use this to search for text on my app. Now, I'm trying to add a keyboard shortcut to focus o

Mac M1 apple chip: Hyperledger Fabric samples download: "2.4.1 platform specific fabric binary is not available to download" Error

On my mac M1 computer, Trying to download Fabric binaries and images using following command: curl -sSL <URL for Fabric 2.4.1> | bash -s Getting the err

MacOS IOkit get services by property name in Swift

I would like to get all services that contain specific properties. AppleDeviceManagementHIDEventService <class AppleDeviceManagementHIDEventService, id 0x1

Memory leak issue virtual camera macOS, swift SwiftUI zoom caphost

We are developing a application with virtual camera plugin for macOS by using swiftUI & swift. It has also C++ & objective C library. When we use that p

2D graphics API for an interactive GUI to replace OpenGL on MacOS

Apple has deprecated OpenGL. In anticipation of OpenGL being removed from MacOS altogether, I would like to rebuild my mouse driven GUI using some other graphic

SwiftUI: Get sidebar isCollapsed state on macOS

I'm using a NavigationView to create a sidebar on macOS. I can toggle the sidebar using this code: Button { NSApp.keyWindow?.firstResponder?.tryToPerform(

K9s can't open because 'po' command not found

I was using k9s during work and when I try to start it, I got the error message : Boom!! app run failed 'po' command not found. I searched for how to reinstall

How to avoid to have is bundle app quarantine flagged by MacOS on Mac M1?

everytime I share a bundle app to a friend, he get his .app quarantine-flagged and he need to use xattr -c "Bundle.app". How to avoid that ?

NPM Error "Can't find Python executable" in MacOS Big Sur

I've been looking for the answer to this for a good solid week now, with no success. I've looked at every StackOverflow post, every article from Google and ever