Build error Cordova/CDVViewController.h file not found
Turns out the CordovaLib.xcodeproj reference in the template's project is not found.
Fix in the .pbxproj:
Note that I have not tested this change with an older Xcode 8 (< 8.3.2), so that might complicate things.
iOS platforms in the wild older than email@example.com will need a hook to transform the pbxproj if the developer upgraded to Xcode 8.3.2