‘Cordova/CDVPlugin.h’ file not found
phonegap项目,平时真机调试没什么问题。然后想打包成ipa了,去Product --> Archive 一下,然后就报错了,说:‘Cordova/CDVPlugin.h’ file not found,
截图:
最后,通过在 Build Settings --> Search Paths --> Header Search Paths
添加:$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include
再次Archive就可以了,截图: