Xcode error - cordova app - install additional required components

301 views
Skip to first unread message

Leonidas Savvides

unread,
Jul 27, 2020, 12:34:48 PM7/27/20
to phonegap
Xcode error - cordova app - install additional required components
I was a user of Phonegap Build but iOS Not supported anymore so switched to Cordova CLI

I updated Xcode I think March 2020, but Updates says Now to update again - but I want an update when released the new Xcode 12... September 2020...

what to do?

I tried to build the hello world app in Cordova CLI but getting an error here: // and when tried to open the file HelloWorld.xcworkspace in Xcode see attachment

leonidass-mbp:hello leonidassavvides$ cordova requirements

Requirements check results for ios:
Apple macOS: installed darwin
Xcode: installed 11.5
ios-deploy: not installed 
ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/ios-control/ios-deploy into your path, or do 'npm install -g ios-deploy'
CocoaPods: not installed 
CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/
Some of requirements check failed
leonidass-mbp:hello leonidassavvides$ sudo npm install -g ios-deploy
Password:
....
....
null)_subobjects=81f2a101a7ac69098e1a397e863616a6-Workspace.lock, wb): No such file or directory (2)

** BUILD FAILED **

npm ERR! code ELIFECYCLE
npm ERR! errno 65
npm ERR! ios-d...@1.11.0 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 65
npm ERR! 
npm ERR! Failed at the ios-d...@1.11.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/leonidassavvides/.npm/_logs/2020-07-27T16_13_13_556Z-debug.log
leonidass-mbp:hello leonidassavvides$ cd /Users/leonidassavvides/.npm/_logs/
leonidass-mbp:_logs leonidassavvides$ ls
2019-10-14T07_29_38_470Z-debug.log      2020-07-20T07_34_55_162Z-debug.log      2020-07-20T07_44_00_256Z-debug.log
2020-07-07T08_02_23_833Z-debug.log      2020-07-20T07_35_45_785Z-debug.log      2020-07-27T16_13_13_556Z-debug.log
2020-07-20T07_02_43_386Z-debug.log      2020-07-20T07_41_04_416Z-debug.log
2020-07-20T07_34_13_620Z-debug.log      2020-07-20T07_43_51_721Z-debug.log
leonidass-mbp:_logs leonidassavvides$ 
leonidass-mbp:_logs leonidassavvides$ tail -20 2020-07-27T16_13_13_556Z-debug.log 
66 verbose stack Exit status 65
66 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
66 verbose stack     at EventEmitter.emit (events.js:197:13)
66 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
66 verbose stack     at ChildProcess.emit (events.js:197:13)
66 verbose stack     at maybeClose (internal/child_process.js:978:16)
66 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
67 verbose pkgid ios-d...@1.11.0
68 verbose cwd /Applications/XAMPP/xamppfiles/htdocs/DPApp/hello
69 verbose Darwin 19.6.0
70 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy"
71 verbose node v11.8.0
72 verbose npm  v6.14.6
73 error code ELIFECYCLE
74 error errno 65
75 error ios-d...@1.11.0 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
75 error Exit status 65
76 error Failed at the ios-d...@1.11.0 preinstall script.
76 error This is probably not a problem with npm. There is likely additional logging output above.
77 verbose exit [ 65, true ]
leonidass-mbp:_logs leonidassavvides$ 
2020-07-27_19-19-58.png

Leonidas Savvides

unread,
Jul 29, 2020, 1:38:15 AM7/29/20
to phonegap
required install 8GB version new of Xcode
Or just follow the update (is it small this ?) to current version? see screenshot...  
Reply all
Reply to author
Forward
0 new messages