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.

Command xcodebuild failed with exit code 65.

See original GitHub issue

Dear friend, we, the rest of the NativeScript community really appreciate your feedback! While we are doing all we can to take care of every issue, sometimes we get overwhelmed. Because of that, we will consider issues that are not constructive or problems that cannot be reproduced “dead”. Additionally, we will treat feature requests or bug reports with unanswered questions regarding the behavior/reproduction for more than 20 days “dead”. All “dead” issues will get closed.

Please, provide the details below:

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Yes

Tell us about the problem

Please, ensure your title is less than 63 characters long and starts with a capital letter. Command xcodebuild failed with exit code 65.

Which platform(s) does your issue occur on?

iOS/Android/Both iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
  • Cross-platform modules: (check the ‘version’ attribute in the node_modules/tns-core-modules/package.json file in your project)
  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
  • Plugin(s): (look for the version number in the package.json file of your project) tns-version 4.0.0 package.json

{ “description”: “App Desc”, “license”: “SEE LICENSE IN <your-license-filename>”, “readme”: “NativeScript Application”, “repository”: “<fill-your-repository-here>”, “nativescript”: { “id”: “org.app.appname”, “tns-android”: { “version”: “3.3.1” }, “tns-ios”: { “version”: “4.0.1” } }, “dependencies”: { “nativescript-drop-down”: “^3.2.3”, “nativescript-filter-select”: “^1.2.6”, “nativescript-loading-indicator”: “^2.4.0”, “nativescript-pro-ui”: “^3.4.1”, “nativescript-screenshot”: “0.0.2”, “nativescript-theme-core”: “^1.0.4”, “tns-core-modules”: “^3.4.1” }, “devDependencies”: { “babel-traverse”: “6.26.0”, “babel-types”: “6.26.0”, “babylon”: “6.18.0”, “lazy”: “1.0.11” }, “author”: “ZOR” }

Please tell us how to recreate the issue in as much detail as possible.

tns run ios --provision <profile id>

ends with ** BUILD FAILED **

Unable to apply changes on device: <device uuid> . Error is: Command xcodebuild failed with exit code 65.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Consider using the playground to provide the code you have issues with. Code is working Okay with the Emulator , Issue arises when i try to deploy on the device, tried sidekick too but same error there.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JavierAcevedoCcommented, Apr 21, 2020

** BUILD FAILED **

Command xcodebuild failed with exit code 65 Error: Command xcodebuild failed with exit code 65 at Errors.failWithOptions (/Users/macbook/Development/point/node_modules/nativescript/lib/common/errors.js:147:28) at Errors.fail (/Users/macbook/Development/point/node_modules/nativescript/lib/common/errors.js:120:21) at XcodebuildCommandService.<anonymous> (/Users/macbook/Development/point/node_modules/nativescript/lib/services/ios/xcodebuild-command-service.js:28:30) at Generator.throw (<anonymous>) at rejected (/Users/macbook/Development/point/node_modules/nativescript/lib/services/ios/xcodebuild-command-service.js:5:65) at processTicksAndRejections (internal/process/task_queues.js:97:5) npm ERR! code ELIFECYCLE

1reaction
snqcommented, Nov 5, 2018

tns build ios --clean solved the issue for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

macos - Xcodebuild failed exit code 65 - ios - Stack Overflow
Solved. Issue required moving to the most current version of xcode, 9+ · Seeing the same problem, but with a freshly upgraded xcode...
Read more >
Command xcode build failed with exit code 65 #4163 - GitHub
Hi @PythonDevOp, It seems that the version of your Xcode is very old. Please try upgrading Xcode to a newer version (10.1) and...
Read more >
Unable to build iOS app - Command failed with exit code 65 ...
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 >
Xcodebuild failed with code 65 (WARNING: The server did not ...
Error code 65 is the signing issue.you need to sign it properly with the same developer account (Certificate and profile) which is used...
Read more >
xcodebuild error code 65 | Apple Developer Forums
Ok, it turns out it actually was due to the CopyPNG steps failing. ... The actual trigger seems to be that for whatever...
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