macos-mojave

Unable to load Info.plist error Xcode 10 under macOS 10.14 Mojave

流过昼夜 提交于 2019-11-27 07:46:59
I got this error message while running my app from within Xcode and the Archived exported app do NOT execute under macOS 10.14 [default] Unable to load Info.plist exceptions (eGPUOverrides) BTW, change Xcode's File -> Project Settings -> Build System to "Legacy Build System" does not work for me. It's not an Xcode bug, it's a Mojave bug. I met this error every seconds. No matter I open any app, all comes with this bug in the Console. I can't use the settings in System Prefrences - Security - Privacy - Accessibility because I can't add anything to the list ( I'm sure I unlocked the panel ) And

NSCameraUsageDescription needed for C++ projects in Xcode for MacOS Mojave

≯℡__Kan透↙ 提交于 2019-11-27 06:16:28
问题 I am trying to run OpenCV projects in Xcode and it seems like there's a new need to provide an info.plist for C++ applications NSCameraUsageDescription. 2018-09-28 00:03:15.181948+0800 k_nearest_detector_v2[23505:710470] [access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data. Program ended with exit

GDB errors on macOS Mojave

╄→гoц情女王★ 提交于 2019-11-27 04:48:32
问题 Environment: Mac/Mojave and GDB 8.2.1 (via homebrew). I worked through instructions https://forward-in-code.blogspot.com/2018/11/mojave-vs-gdb.html i.e.: latest GDB via brew, which solves the executable format issue sign GDB with new entitlements Additionally, I've also modified SIP to allow debugging (in Recovery OS terminal: csrutil enable --without debug ). However, I still can’t get gdb to work: (gdb) file main Reading symbols from main...done. (gdb) run Starting program: /Users

OpenCV Python Scripts Mac “aborts”

天大地大妈咪最大 提交于 2019-11-26 23:33:02
问题 So I'm just trying to run the basic OpenCV program import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2BGRA) # Display the resulting frame cv2.imshow('frame',frame) if cv2.waitKey(1) & 0xFF == ord('q'): break # When everything done, release the capture cap.release() cv2.destroyAllWindows() But for some reason when I try to run it (with python 2 or

Unable to load Info.plist error Xcode 10 under macOS 10.14 Mojave

笑着哭i 提交于 2019-11-26 13:48:48
问题 I got this error message while running my app from within Xcode and the Archived exported app do NOT execute under macOS 10.14 [default] Unable to load Info.plist exceptions (eGPUOverrides) BTW, change Xcode's File -> Project Settings -> Build System to "Legacy Build System" does not work for me. 回答1: It's not an Xcode bug, it's a Mojave bug. I met this error every seconds. No matter I open any app, all comes with this bug in the Console. I can't use the settings in System Prefrences -