Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build iOS App: Error: cordovaProject.projectConfig.getFileResources is not a function #353

Closed
cuihantao opened this issue Jun 2, 2017 · 3 comments

Comments

@cuihantao
Copy link

Greetings,

I'm build the iOS app for the first time. I followed the instruction but keeps getting the error message

Error: cordovaProject.projectConfig.getFileResources is not a function

I checked cordova requirements and it passed.

Requirements check results for ios:
Apple OS X: installed darwin
Xcode: installed 8.3.2
ios-deploy: installed 1.9.1
CocoaPods: installed

Any help is greatly appreciated!

@cuihantao
Copy link
Author

Error: cordovaProject.projectConfig.getFileResources is not a function

npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/Cellar/node@6/6.10.3/bin/node" "/usr/local/bin/npm" "run" "ios"
npm ERR! node v6.10.3
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wordpress-hybrid-client@2.0.2 ios: `npm run dumpdev && cordova run ios --device`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wordpress-hybrid-client@2.0.2 ios script 'npm run dumpdev && cordova run ios --device'.

I tried node@8.0.0 and it didn't work either.

I tried to build it inside Xcode, but it simply cannot find the Cordova header include path...

@luatdolphin
Copy link

I also get trouble, I don't know why!!!

@shprink
Copy link
Collaborator

shprink commented Jul 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants