陈斌彬的技术博客

Stay foolish,stay hungry

Cordova/CDVViewController.h File Not Found 解决办法

最近把Xcode升级到7.1出现上述问题,可以运行app,但是在打包app提交到appstore的时候会报 Cordova/CDVViewController.h file not found 

   查了好久才找到原因,参考了http://stackoverflow.com/questions/33379291/cordova-app-failing-to-archive-with-xcode-7-1-cordova-cdvviewcontroller-h-file

  解决方法:

Header Search Path 加入

"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"

img