macos-catalina

kIOReturnNotPermitted from IOServiceOpen connecting to SystemExtension IOService

孤街浪徒 提交于 2020-05-15 09:29:06
问题 I am trying to create a client connection to a SystemExtension IOService. I can see that my IOUserClient subclass is created ( init() and Start(IOService*) is called), but the return code from IOServiceOpen returns kIOReturnNotPermitted . I am making the call to IOServiceOpen from the same app that creates the activation request. Entitlements for app that makes the activation request / call to IOServiceOpen : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1

“Cannot Preview in this file - Failed to launch [App Name]”

对着背影说爱祢 提交于 2020-05-14 18:46:06
问题 I am trying to play around with swiftUI in Xcode 11 and macOS Catalina. BUT After creating a new Project, there is a boiler plate code with a Text that says hello World. I want to have a live preview of this simple welcome message in the canvas by the side of the code. When i hit the resume button : It says : Cannot Preview in this file - Failed to launch [App Name] I've tried hitting the diagnostic button that generated a report to send it to APPLE saying: [FailedToLaunchError(url: file://

Homebrew MySQL 8.0.18 on macOS 10.15 Catalina won't run as service

|▌冷眼眸甩不掉的悲伤 提交于 2020-05-13 06:39:47
问题 Another macOS upgrade + another MySQL upgrade = another set of problems. I can't seem to get MySQL 8.0.18 to run as a homebrew service on macOS 10.15 Catalina. Please show me the error of my ways. Here's what I did : brew install mysql brew pin mysql touch /tmp/mysql.sock mysql.server start unset TMPDIR mysql_secure_installation mysql.server stop sudo brew services start mysql Here's what I expected : MySQL to run merrily along as a homebrew service as user root. Here's what happened : MySQL

macOS Catalina: Python Quit unexpectedly error

╄→尐↘猪︶ㄣ 提交于 2020-05-11 09:12:09
问题 I just upgraded to macOS Catalina from Mojave on my Macbook and tried to run a python3 script from terminal as follows: python3 scriptname.py I get no response in the terminal and then error comes up : Python Quit unexpectedly with the following report: Please help me solve this or how do i downgrade to mojave as i need this to work Process: Python [2726] Path: /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 3.7.4 (3.7.4

macOS Catalina: Python Quit unexpectedly error

烈酒焚心 提交于 2020-05-11 09:07:09
问题 I just upgraded to macOS Catalina from Mojave on my Macbook and tried to run a python3 script from terminal as follows: python3 scriptname.py I get no response in the terminal and then error comes up : Python Quit unexpectedly with the following report: Please help me solve this or how do i downgrade to mojave as i need this to work Process: Python [2726] Path: /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 3.7.4 (3.7.4

sudo chown -R _www / on mac [closed]

£可爱£侵袭症+ 提交于 2020-04-18 06:11:20
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed yesterday . help please I used this command sudo chown _WWW:_WWW / this command destroyed my MacBook. I can only open the mac on recovery mode. if I opened and reached the desktop i can't open anything. 来源: https://stackoverflow.com/questions/61258630/sudo-chown-r-www-on-mac

sudo chown -R _www / on mac [closed]

浪子不回头ぞ 提交于 2020-04-18 06:11:11
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed yesterday . help please I used this command sudo chown _WWW:_WWW / this command destroyed my MacBook. I can only open the mac on recovery mode. if I opened and reached the desktop i can't open anything. 来源: https://stackoverflow.com/questions/61258630/sudo-chown-r-www-on-mac

Cannot use old NDK (android-ndk-r17c) after Catalina upgrade due to new security

无人久伴 提交于 2020-04-08 08:57:50
问题 After upgrading to macOS Catalina, my project won't build anymore. This is due to Catalina believing the binaries in 'android-ndk-r17c' to not be from a trusted developer. You get messages such as: "“ld” cannot be opened because the developer cannot be verified." "macOS cannot verify that this app is free from malware" I have to use the old NDK due to problems with native openCV library SDK and newer NDKs. They are working on it, but the newer SDK is not stable enough for me yet. I was able

Can't find qt or x11 terminal gnuplot with CATALINA

∥☆過路亽.° 提交于 2020-04-07 07:34:21
问题 I installed gnuplot on my Macbook with Catalina 10.15.13. When I use it in Xcode it does not show me anything, it provides WARNING: Plotting with an 'unknown' terminal. No output will be generated. Please select a terminal with 'set terminal'. Having said that, I saw that to plot data I would need of the terminals qt or x11 which I do not have. The questions are two: How can I install them? homebrew does not allow me to use brew "install gnuplot --with-x11" In order to see the data, Do I have

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

家住魔仙堡 提交于 2020-03-26 00:56:36
问题 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