Using Xcode 8 and the beta for Server (5.4). Trying to get automated builds to work but keep getting Error 'Cordova/CDVPlugin.h' file not found. This only happens when archiving from a bot. If i archive from the build machine just through Xcode, it archives fine. There was a similar issue when Xcode 7 came out that required a change to the header search paths. Anyone have a solution to this yet?
Asked
Active
Viewed 2,284 times
2 Answers
0
Try cordova platform update ios
but be careful, for some reason it messes up cordova plugin accessibility somehow.

Cozzbie
- 1,014
- 2
- 12
- 26
0
This worked for me in Xcode 8.3.3:
- go to Build Settings
- find Search Paths > Framework Search Paths
- add the path to where your exact Cordova library is stored on the current machine; make sure it's Cordova/Frameworks if your actual path (in Finder) has the Cordova.framework package nested in a /Frameworks sub folder
- Clean
- Build / Run again

Tim Shaya
- 1
- 1