Category "macos"

flask_sqlalchemy keeps trying to connect to localhost database instead of the remote one

I'm trying to use the flask_sqlalchemy library in order to connect to a PostgreSQL server on my remote Ubuntu machine, but my app keeps trying to connect to the

Caret position in NSTextField of NSTableView

I have a view based NSTableView of n rows and 1 column, with a monospaced font. When the user clicks within a row, I need to convert the caret position to a cha

How to install OpenMP on Mac M1?

I am currently studying to become a computer engineer and I need to work with OpenMP. After some research, I'm still having trouble installing it (#include <

WARN: Unable to load JNA library (OS: Mac OS X 12.2) warning when running flutter app on release mode. (M1 Mac)

I built a simple tic-tac-toe app on Flutter. It works in debug mode without any problem, but when I run it in release mode it gives me an error: WARN: Unable t

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