问题
I'm experiencing an issue with running an opencv program in Xcode. I keep getting this error: https://i.stack.imgur.com/F6Gpu.png . Xcode works with other opencv programs, so I have no idea what would be causing this issue & how I would go about fixing it. Any and all help would be greatly appreciated.
回答1:
My solution was to delete /Application/Xcode.app as well as /Library/Developer and ~/Library/Developer and reinstall Xcode.
Edit: The error reappeared. Not sure why.
I had the Xcode-Beta versions installed and assume that that might have caused that.
回答2:
A solution has been provided here (https://github.com/tensorflow/swift/issues/569), which would be:
sudo install_name_tool -add_rpath /Applications/Xcode.app/Contents/Developer/Library/Frameworks/ <toolchain path>/System/Library/PrivateFrameworks/LLDB.framework/Versions/A/LLDB
来源:https://stackoverflow.com/questions/62820548/lldb-provided-no-error-string-problem-with-xcode