I'm experiencing an issue with running an opencv program in Xcode. I keep getting this error: https://i.sstatic.net/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.
-
1I'm experiencing the same issue. It was caused when I run the TensorFlow toolchain in Xcode.0-1– 0-12020-09-21 19:37:10 +00:00Commented Sep 21, 2020 at 19:37
-
Same, reported herePorter Child– Porter Child2020-10-01 18:57:12 +00:00Commented Oct 1, 2020 at 18:57
-
I am seeing a similar error. When I do, the final build product is coloured red. In my case, I think the build was failing quietly because my source was in blue sub folders, that arrived when I added files to the project, but selected folders. When I added all the files in a flat structure, the build succeeded and to problem went away. Maybe your problem is something else entirely, but who knows.Nigel Davies– Nigel Davies2021-02-19 18:46:07 +00:00Commented Feb 19, 2021 at 18:46
6 Answers
I had a same problem. I have Just unchecked: Target-> Edit Scheme -> Run -> Info -> Debug executable.
It works for me.
2 Comments
I had the same problem,
I tried unchecking this Target-> Edit Scheme -> Run -> Info -> Debug executable. It works but the problem is the Breakpoints will not work.
I had to restart my laptop and then it worked.
1 Comment
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
Comments
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