Phonegap 2.1.0 File Cordova / CDVViewController.h not found

I installed Xcode 4.5 (without the previous version for phone calls). I downloaded, extracted and created a project on the Phonegap tutorial: http://docs.phonegap.com/en/2.1.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS

After the terminal command: ./create myproject ~ / Desktop / myproject com.test.myproject I have a structure based on the sequence.

Then I run xcode and want to play this sample project. Xcode build Fails and says:

Lexical or manufacturer problem "Cordova / CDVViewController.h file" was not found

I tried to add this missing header to the classes folder, restored the import syntax, but still the same question.

Has anyone solved this problem? / HOW?

+4
source share
1 answer

After many attempts, I decided to read Readme.md and solve the problem with ./update_cordova_subproject !

Create a project using:

./create ~/Desktop/project com.example.project project 

Cordoba Subproject Update:

 ./update_cordova_subproject ~/Desktop/project/project.xcodeproj 

Now create good luck!

+12
source

Source: https://habr.com/ru/post/1440118/


All Articles