xcodebuild: command failed with exit code 65
See original GitHub issueBug Report
My app was built successfully with Cordova-ios version 5.1.1. After changing iOS engine in config.xml from 5.1.1 to 6.1.0, ‘cordova build ios’ gives error:
xcodebuild: Command failed with exit code 65 Error: xcodebuild: Command failed with exit code 65 at ChildProcess.whenDone (/Users/shanlin/build/extjs_cp_time/cordova/node_modules/cordova-common/src/superspawn.js:136:25) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Any idea about what might be the problem?
Command or Code
cordova build ios
Version information
cordova cli version 9.0.0 and 10.0.0 both have the issues. cordova-ios version 6.1.0 generates the error. Mac OS 10.14.6 Xcode 11.3.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
cordova run with ios error .. Error code 65 for command
Future visitors: Archive failed means there is a signature related problem i.e. no provisioning profile. Open Xcode and select a team and Xcode ......
Read more >Unable to build iOS app - Command failed with exit code ...
Hi, the signing certificate error is likely to blame for the build failing. It could be an error in the configuration or a...
Read more >Error: xcodebuild: Command failed with exit code 65
Any help? ... If you do a quick little google on “Xcode exit code 65”, you'll find that this is a common issue....
Read more >Cordova build error CompileC code 65 SOLVED!
How to solve a Cordova build error CompileC code 65. Not exactly sure why it occurs, ... xcodebuild: Command failed with exit code...
Read more >error failed to build ios project. we ran "xcodebuild ... - YouTube
error failed to build ios project. we ran " xcodebuild " command but it exited with error code 65.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The newest version cordova-ios@6.1.1 still has the same error.
For some background context, error 65 from
xcodebuild
is a generic error that simply describes that xcodebuild couldn’t do a build, which of course… pretty much anything could cause: invalid configuration, unmaintained plugins, out-dated software, etc. Without digging into more of xcodebuild output, you’re trying to find a needle in a haystack.You may have to scan through the tons of input that xcodebuild produces or open up the XCode project located at
./platforms/ios/<App Name>.xcworkspace
and try to build from XCode GUI to get a more meaningful error.