Category "macos"

Error when building ios application using fastlane remotely

i am trying to fix an error which i get when i try to ssh into mac-mini and run fastlane remotely. The following build commands failed: CodeSign /Users/ec2-user

Permission Error When Exporting to $JAVA_HOME on MacOS Big Sur

Whenever I try to set my Java Home export JAVA_HOME=$(/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home) in my .zshenv or .zshrc files, I ge

M1Mac : rbenv install 2.6.6 Build Failed

When I tried to install ruby2.6.6 on my mac using rbenv, I got a "Builed Failed" message. Initially, I ran it as follows % rbenv install 2.6.6 Downloading rub

I want to use Git via macports instead of Apple Git

I'd like to use the latest version Git via macports instead of Apple Git. But when I type git --version on terminal app, it displays Apple Git version. Could y

Error: "channel 3: open failed: administratively prohibited: open failed" on OS X Screen Sharing over ssh tunnel

I had configured OS X screen sharing over an ssh tunnel and at some point it stopped working. The ssh tunnel would work: ssh -L 1202:localhost:5900 user@remote

C# GUI Design for Mac Retina Displays

I'm using Avalonia UI to create an application that is available for both Windows as well as macOS, and have come across the issue that, when using a macOS devi

Reset MySQL root password using ALTER USER statement after install on Mac

I'm new to the whole Mac experience. I recently installed MySQL and it seems I have to reset the password after install. It won't let me do anything else. Now

Bash alias: command not found

I'm trying to setup a simple alias to move me into my Developer folder on my machine. However, after setting it up, I get a weird error: -bash: dv: command not

zsh: command not found: mongo

I'm following the official instructions found here (on Mac OS Big Sur): https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ When attempting to run

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 on Apple Arm

I have installed Android Studio Canary 2020.3.1.22 and trying to run Flutter project on Apple Silicon(ARM) Mac. Unfortunately, it is giving me this error when I

Cause: error=86, Bad CPU type in executable M1 Macbook (Android studio)

When attempting to run the emulator on android studio I receive the Cause: error=86, Bad CPU type in executable error message. I'm using the most up to date and

Ruby On Rails - NoMethodError: undefined method `[]' for nil:NilClass

I'm trying to run on a new computer some ruby code and I receive the following error (rails db:migrate --trace) ** Invoke db:migrate (first_time) ** Invoke db:

FATAL: Failed to start gitlab-runner: "launchctl" failed with stderr: Load failed: 5: Input/output error

After installing and registering gitlab-runner, when I'm running gitlab-runner start I get this error message. What will be the reason for this ? Runtime platfo

reinstallimng Anaconda 3 on mac

I have been trying to reinstall Anaconda3 on my Macbook pro with no success. I keep getting this error: Anaconda3 is already installed in /opt/anaconda3. Use '

How to create a suffix alias for files without an extension?

I just found about zsh suffix aliases that allow one to associate a program with an extension in the shell: alias -s {md,txt}=nano Is there a way to do somethi

Using subprocess.check_output for a command with 2>/dev/null

I am on Mac OS X Yosemite 10.10 and Python 2.7. If I type the following: du -g -d1 /Users 2> /dev/null in the command line, everything works perfectly. No

TextField in Table behavior

I'm trying to use the new SwiftUI Table with TextField's in each row. However, the behavior of the text field's is weird, for 3 reasons: Clicking on a text fiel

Where is adb located when installing Unity and Android SDK for Mac?

I'm getting Android Build Failures and would like to locate adb to do some queries like adb devices but where is adb installed? I've already installed the Andro

Running C++ in Eclipse on MacOS

I am using Eclipse IDE for C/C++ Developer on Mac OS Sierra 10.12.6. When I build a project (HelloWorld Project) I see a message: "xcrun: error: invalid activ

How to open Visual Studio Code from the command line on OSX?

The docs mention an executable called code, but I'm not sure where I can find that so I can put it on my path. The zip I downloaded from the VSCode site did not