I have built openCV to get opencv2.framework. I added this to my xcode iOS project by going to \"build phases->Link Binary With Libraries\", then tried to include \"opencv2
In my case the symbolic links to the header files were broken. This was caused by cloning the following great example project:
https://github.com/BloodAxe/OpenCV-Tutorial
In the cloned project, the header files were not reachable anymore. After reimporting the opencv2.framework from the official opencv ios download site (OpenCV for iOS), the headers were available again. XCode should look as follows:
The following is a screenshot of a Xcode project with broken headers. With broken header files, the xcode project looks as follows: