title: Cordova app failing to Archive with Xcode 7.1 (Cordova/CDVViewController.h file not found)
body: <p>I've recently updated my Xcode to version 7.1 (from 7.0.1) and my Cordova app is failing to Archive with the error that says:</p>
  
  <blockquote>
    <p>'Cordova/CDVViewController.h' file not found</p>
  </blockquote>
  
  <p>in MainViewController.h file.</p>
  
  <p>Searching through solutions on StackOverflow and elsewhere suggests that setting the project's Header Search Path from <code>"$(OBJROOT)/UninstalledProducts/include"</code>to <code>"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"</code> seems to solve the issue for a lot of people. However, this did not resolve the issue for me.</p>
  
  <p>Is there anything that could be amiss? I never encountered a problem like this prior to updating Xcode.</p>
  
  <p>Associated screenshot:
  <a href="https://i.stack.imgur.com/R5LuC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R5LuC.png" alt="Notice the Header Search Paths for both Debug and Release"></a></p>
  
  <p><strong>UPDATE:</strong> It seems like updating my Mac OS X to El Capitan might have fixed this problem as I no longer get it. At the time of posting this question, I was on Yosemite. Hope this helps anyone encountering the same issue</p>