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

**URL:** <https://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232>\
**Category:** uncategorized\
**Created:** [September 11, 2015, 8:44pm UTC](https://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232 "2015-09-11T20:44:34Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![SeanNieuwoudt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/seannieuwoudt/32/94614_2.png) [@SeanNieuwoudt](https://forum.ionicframework.com/u/SeanNieuwoudt)\
**Post date:** [December 10, 2015, 4:51pm UTC](https://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232/40 "2015-12-10T16:51:26Z")

</div>

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.

---

_[View the full topic](https://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232)._
