still getting file not found error in xcode

后端 未结 5 1778
借酒劲吻你
借酒劲吻你 2021-01-04 11:48

I am new in PhoneGap, making a app via Xcode; But I found an error regarding CDVViewController.h. However, the file physically exists there. I am using Xcode 4.

5条回答
  •  既然无缘
    2021-01-04 12:32

    You may need to update your CordovaLib sub-project reference.

    1. Launch Terminal.app
    2. Go to the location where you installed Cordova in the bin sub-folder. For example, /Users/Shared/Cordova/phonegap-2.2.0/lib/ios/bin
    3. Run the script below where the first parameter is the path to your project's .xcodeproj file:

      ./update_cordova_subproject path/to/your/project/xcodeproj

提交回复
热议问题