Category "macos"

How to build openssl for M1 and for Intel?

I have a project which needs to use Libcrypto - and I have two versions of Libcrypto (libcrypto.a (from OpenSSL 1.1.1) built for ARM64) and (lcrypto.a (from Ope

How to enable Touch ID in prompt for password using Applescript in Objective C

I am using a solution from @CarlosP in my objective C app to execute a script as administrator. Link is above but basically it's doing this: NSDictionary *error

Creating universal build for mac os with pyinstaller and python3

I have two mac machines. One is intel based and running big sur and second is M1 and running big sur. I am trying to build a sample hello world package using py

ld: unsupported tapi file type '!tapi-tbd' in YAML file

I am facing an error which running "npm install" (see picture attached) node version: 10.7.0, npm version: 6.1.0 MacOs version: 10.15.6 It's a react native proj

Simulating hold Command key to Multi-select dont work on macOS

Trying to simulate holding command key to multi-select on macOS, but it doesnt work, did I miss something?Key Codes CGEventSourceRef eventSrc = CGEventSourc

Catalina bash shopt direxpand missing

I'm new to macOS coming from Windows and Linux. I want to use bash and found how to upgrade bash on Catalina, version now: GNU bash, version 5.0.18(1)-release (

eth-brownie - No module named <Users.someuser>

Getting this error while trying to run a eth-brownie script on MacOS ModuleNotFoundError: No module named 'Users.xyz' Run command: brownie run scripts/mainne

terminal unix command find problem with setting up modes

I have trouble constructing a single find line to do the following: find all files in the current dir and sub-dir with name ending with ~. or star and end with

Mac brew doctor show Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin

I try to upgrade python2.7 to python3 on macOS Catalina, when I run brew doctor, it shows: Warning: Homebrew's sbin was not found in your PATH but you have inst

MacOs Catalina 10.15.5 crashes and report gives no clue

I recently updated my MacOs from Catalina 10.15.4 to 10.15.5 (19F101). I use Android Studio as IDE to develop Android apps using Java programming language. So I

Why won't LaunchAgents run my Automator app?

I'd like to run an app I created via Automator every 5 minutes, so I placed the following com.user.wilson.plist file in this folder: /Library/LaunchAgents

Clion can't find a library installed using homebrew

I am working on MacOS and using homebrew to install libraries. The library that I am trying to get working is freeImage which installed just fine using homebrew

Bowtie2 error : " does not exist or is not a Bowtie 2 index"

I'm very new to bioinformatics and RNA-seq so go easy on me. I keep getting the same error when I try perform my analysis. For background: I have a folder calle

SetForegroundWindow on macOS using C#

On Windows I can set a window to be in foreground using this code: [DllImport("User32.dll")] public static extern bool SetForegroundWindow(IntPtr hWnd); ... var

.NET 6 project within Jetbrains Rider on Apple M1 fails to debug or start after updating to Rider 2022.1

I am working on a .NET 6 project using Rider as IDE on macOS Monterey on an Apple M1 Pro. After updating Rider from 2021.3.4 to 2022.1 with the JetBrains Toolbo

How to do block-comments in Google Colab on a Mac with a non-American keyboard?

I want to do block-comments in Colab using a Mac laptop (Big Sur), so I had a look here: Is it possible to do block-comments in Google Colab? Ctrl+/ does not wo

Terminal error: zsh: permission denied: ./startup.sh

I am running a command ./startup.sh nginx:start and I am getting this error message zsh: permission denied: ./startup.sh why could this be happening?

Another Maven "Source option 6 is no longer supported. Use 7 or later."

I see lots of answers to this question but they don't work for me. I installed Visual Studio Code, latest version of Java and Maven on my PC and I was able to s

Drag and drop with custom type identifier doesn't work

I'm trying to achieve drag and drop on macOS with a custom type identifier to avoid collisions but it doesn't seem to work. First, here's a working example with

Visual Studio installation failed in MAC OS X

Downloaded Visual Studio installer from https://visualstudio.microsoft.com/vs/mac/ first and started the download and install process. At the end of the instal