'Cordova/CDVViewController.h' file not found in Xcode 7.1 beta

None of the above worked for me, but I found a way eventually:

Version Information:

Cordova 5.4.1
Xcode 7.1.1 (7B1005)
Node 5.2.0
Ionic 1.7.11

  1. Run this in your terminal: cordova platform update ios
  2. Open your project in Xcode
  3. Go to Preference -> Locations -> Advanced
  4. Choose “Unique” as the option for Build Location
  5. Product -> Clean
  6. Product -> Build

For good karma, I also added “$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include” to the header search paths but that alone didn’t fix the issue.

4 Likes