still getting file not found error in xcode

后端 未结 5 1780
借酒劲吻你
借酒劲吻你 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:22

    Man, there are a lot of red herring answers to this question out there. This is what worked for me, and is in the documentation for both PhoneGap 2.5 and 3.0 (see here: PhoneGap docs for iOS (look under "missing headers"), using Xcode 4.6.

    1. In Xcode, go to Preferences... > Locations, then click on the Advanced... button.
    2. Make sure the build location radio button is set to "Unique".
    3. Close out the Preferences and Rebuild.

提交回复
热议问题