'"LLDB Provided No Error String" - Problem with XCode

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.



Solution 1:[1]

I had a same problem. I have Just unchecked: Target-> Edit Scheme -> Run -> Info -> Debug executable.

It works for me.

Solution 2:[2]

Worked with me same step

I had a same problem. I have Just unchecked: Target-> Edit Scheme -> Run -> Info -> Debug executable.

Solution 3:[3]

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.

Solution 4:[4]

A solution has been provided here, 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

Solution 5:[5]

My professor said it has to do with the way your files are set up in the IDE, if you have the program reading in files from a folder you imported, you need to remove the reference to the folder, and go back and import each file individually rather than the folder as a whole. The IDE just sees the folder and doesn't actually see the files inside essentially

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Milan Rathod
Solution 2 Harsh
Solution 3
Solution 4
Solution 5 jaesen