“LLDB Provided No Error String” - Problem with XCode

偶尔善良 提交于 2021-02-20 10:18:52

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!