Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
iOS
Description
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:
Change
{ isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = "CordovaLib.xcodeproj"; sourceTree = CORDOVALIB; };
to
{ isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = CordovaLib/CordovaLib.xcodeproj; sourceTree = "<group>"; };
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 cordova-ios@4.4.0 will need a hook to transform the pbxproj if the developer upgraded to Xcode 8.3.2