XCode 7.1 Cordova CdvViewcontroller.h not found

October 26, 2015

If you're using Cordova and building/simulating through xcode 7.1 you may notice the following issue when you go to archive next, ""CDVViewController.h not found"". This is because of a header search path configuration variable that is looking in the wrong root path. It's looking in the wrong path because Apple decided to change the directory when they added the second platform, TVOS. There will probably be a bug fix to cordova to help set this configuration variable correctly when adding the platform, but for now you'll just need to manually change this value. In the Build Settings click in the the search box and type ""Header Search Paths"" and then change the following  ""$(OBJROOT)/UninstalledProducts/include"" to ""$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"""

Share

Comments