Category "macos"

Unable to install jenkins in mac

I am trying to install the Homebrew throwgh following command in Terminal: brew install jenkins-lts but the result is: -bash: brew: command not found what is yo

Baseline alignment of buttons in SwiftUI on macOS

I’m trying to vertically align a Text and a regular Button along their baselines in SwiftUI on macOS. I basically want to replicate this layout from the W

Fixing PATH for Python libraries using Bash

I am attempting to install some Python libraries by executing variations of the following command in Bash: pip install --user -U numpy I installed Python3 usin

Read-only file system when attempting mkdir /data/db on Mac [closed]

I am trying to create a new folder in the main directory Tried all kinds of examples sudo mkdir /data/db sudo mkdir -p /data/db I keep

Pyinstaller - app without needed library on macOS

I've prepared python script (using pycharm in both OS, projects with venv, pyinstaller cpmmand run in pycharm terminal) which begins with 'import pandas' and wa

What is the right gradient to use to achieve the inner shadow effect of the native macOS graphical time picker with Flutter CustomPainter?

I'm recreating the graphical macOS time picker for macos_ui and I'm having some difficulty painting the inner shadow gradient correctly. This shadow, along with

Menu Bar Popover is missing from application's elements tree on macOS

I'm currently trying to write simple UI Tests for an App that comes with a popover in the macOS menu bar. One of the tests is supposed to open the menu bar popo

Simulate key press events on a Mac using C# .Net Core

I have a solution built in C# .Net Core 3.1. When running in Windows I use the Windows Input Simulator package to simulate key presses, but what can I use on a

Launching Pip3 install package_name on macOS

I have installed homebrew this morning and I added the path in /Users/$USER/.homebrew/bin since this is the correct path for those who care about folder permiss

Error everytime I open Terminal I get "zsh: command not found"

Even basic commands like 'pwd' or 'ls' I get the same error message. I'm completely lost, been looking across all websites looking for a solution. I've found co

Homebrew no available formula or cask : fatal: Needed a single revision

notice : sorry if my english is bad (I'm french) Hey, I'm on Mac OS and i have a problem with Homebrew. I have to install somethings with this command: brew ins

Setting environment variables on macOS Catalina

In which file should I set environment variables on macOS Catalina? I have already tried the .bash_profile file but it does't work.

Select file or directory in SwiftUI in an AppKit App [duplicate]

How can I display a file dialogue in SwiftUI to choose a directory or file. I think using a NSViewRepresentable to wrap a NSOpenPanel will not

Is it possible to set default alert style for macOS UNNotification?

My application posts local macOS notifications. It's important that these are not banner style but alert style instead. So far I have achieved that by setting N

Restart terminal without closing on MacOS

How to restart my current MacOS terminal session without closing the window? In Linux I use exec bash but it does not work in this environment. I made a few ch

ld: library not found for -lssl while installing mysql2 gem

I changed mysql2 version in my project's Gemfile from 0.3.20 to 0.5.2. When I run bundle update mysql2 I get the following error: Fetching mysql2 0.5.2 (was 0.

SwiftUI MacOS Inset paddings of List

i have a scrollale list view using SwiftUI on a macOS app and i'm trying to add paddings inside the scrollable area, without success. Here my code: List(appList

postgresql not installed but homebrew reports it is

I've never had an issue like this before - normally brew install postgres works and everything is fine. I've had instances with this machine where I see "Mac OS

Create a Flutter module for desktop apps

Currently, when running the command flutter create -t module --org com.example app we are able to generate a Flutter module which we can add to a host parent ap

Using INotifyPropertyChanged view models with Cocoa/AppKit bindings

I know this is pretty esoteric but hoping someone has a solution for me. I have an application that started life as WPF, moved to UWP and now lives primarily as