macos-catalina

Android SDK Tools option is missing from SDK Manager in Android Studio 3.6.1

≡放荡痞女 提交于 2020-03-26 00:53:50
问题 On a freshly installed macOS Catalina, I installed Android Studio 3.6.1. I've got the following error when I ran flutter doctor in the course of setting up flutter SDK on my Mac. [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) ✗ Android license status unknown. Try re-installing or updating your Android SDK Manager. See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions. I re-installed

Is there any API to get Full Disk Access info for an application in macOS?

拥有回忆 提交于 2020-03-25 04:00:08
问题 Applications which require Full Disk Access in macOS 10.14 Mojave must instruct their users to navigate into System Preferences > Security & Privacy > Full Disk Access and add the application to the whitelist. This procedure is complicated and will frustrate new users of such an app. There should be a API for this – an asynchronous function which, when called by an app, would present the user with a dialog requesting Full Disk Access and, if the user clicks OK, automatically enter the calling

Pymysql can't connect do MySQL DB: hangs at “self.sock.recv_into(b)”?

徘徊边缘 提交于 2020-03-23 08:02:49
问题 Currently on macOS 10.15 using python 3.7, with MySQL 8.0.19 installed. Developing in VScode with a virtual environment setup. I've created a local database in phpmyadmin as well. I want to connect to it anyway possible. Script: import pymysql print("Before") connection = pymysql.connect(host='localhost', user='myUserName', password='myPassword', db='db_name', charset='utf8mb4', cursorclass=pymysql.cursors.DictCursor) print("After") When I run the script, execution hangs indefinitely. After

ICloud Drive Desktop Sync vs. Git - deleted files reappear and duplicates with number suffixes

北城余情 提交于 2020-03-23 06:23:09
问题 Some words about my setup: MacOs Catalina 10.15.2 Talking about git project folders on my Desktop which is synced with ICloud Drive sync Desktop & Document Folders option enabled I have noticed that the following happens every now and then for some time now. Yesterday, I backed up my MacBook Pro to MacOs Catalina 10.15.2 and this seems to have exacerbated the following pecularity I noticed this in my git initialized project folders: A lot of times when I deleted files from my local worktree

How to install Valgrind on macOS Catalina (10.15) with Homebrew?

感情迁移 提交于 2020-02-14 05:54:16
问题 I tried to install Valgrind with command brew install Valgrind and I get a message says: "valgrind: This formula either does not compile or function as expected on macOS versions newer than Sierra due to an upstream incompatibility. Error: An unsatisfied requirement failed this build." I also tried to "brew edit valgrind" and replace "sourceware.org/git/valgrind.git" with "git://sourceware.org/git/valgrind.git" in head section of the code, then wrote on Iterm " brew install --HEAD valgrind "

Is there any problem installing psycopg2 in virtualenv on MacOS catalina with PostgreSQL 12.1 installed?

拟墨画扇 提交于 2020-02-06 09:27:05
问题 I am having this message: Collecting psycopg2 Using cached https://files.pythonhosted.org/packages/84/d7/6a93c99b5ba4d4d22daa3928b983cec66df4536ca50b22ce5dcac65e4e71/psycopg2-2.8.4.tar.gz Building wheels for collected packages: psycopg2 Building wheel for psycopg2 (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/mohsen/.virtualenvs/jalas-env/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vh/0

How can I install minikube on Mac OS Catalina

淺唱寂寞╮ 提交于 2020-02-02 06:54:43
问题 The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina. Error: Cask 'minikube' is unavailable: No Cask with this name exists. When I download it with curl it refuses to run with the following error. /bin/minikube: cannot execute binary file: Exec format error How can I install minikube on Mac OS Catalina. Or do I have to rollback to Mojave? 回答1: Minikube is no longer available as a cask . Change command

How can I install minikube on Mac OS Catalina

烂漫一生 提交于 2020-02-02 06:54:28
问题 The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina. Error: Cask 'minikube' is unavailable: No Cask with this name exists. When I download it with curl it refuses to run with the following error. /bin/minikube: cannot execute binary file: Exec format error How can I install minikube on Mac OS Catalina. Or do I have to rollback to Mojave? 回答1: Minikube is no longer available as a cask . Change command

VSCode, MacOS Catalina - doesn't stop on breakpoints on C/C++ debug

筅森魡賤 提交于 2020-02-01 03:54:27
问题 I'm trying to make breakpoints work on C code developed using VSCode on Mac. My code seems to compile and run just fine (thanks to 'openssl/crypto.h' file not found on vscode B.T.W) but I don't get any breakpoints, not even on start using "stopAtEntry": true or by attaching to a running process. My tasks.json and launch.json are very standard: { "tasks": [ { "type": "shell", "label": "clang build active file", "command": "/usr/bin/clang", "args": [ "-g", "${file}", "-o", "${fileDirname}/$

SIP is disabled, but /usr/bin is write protected anyway (macOS Catalina beta 10.5)

女生的网名这么多〃 提交于 2020-01-24 21:53:05
问题 I disabled SIP, but directory /usr/bin is write protected anyway. How to get write access for /usr/bin? Please don't suggest to switch to /usr/local/bin. 回答1: Catalina has a new file system arrangement where most of the system files are write-protected. Apple uses two partitions, a read-only one for the main system files and a writeable one for other files, and melds them together and presents them as one to the user. For details see the WWDC video What's New in Apple Filesystems 回答2: I