question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xcodebuild: command failed with exit code 65

See original GitHub issue

Bug 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:open
  • Created 3 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
shanlin2dltkcommented, Sep 15, 2020

The newest version cordova-ios@6.1.1 still has the same error.

5reactions
breautekcommented, Oct 2, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found