NativeScript / NativeScript/nativescript-cli

TNS Build Issues after installing new version xCode

Open
#2,182 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature hacktoberfest help wanted
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

When upgrading xCode from 8 to 8.1, the tns command line started to fail. No errors; just returned to the command line after spinning for a few minutes. Running tns doctor does not show any failures and says everything is fine.

To fix; you need actually open up xCode and answer the question about it needing to download support files. Once it does download then tns starts working again. This "error" case should be checked by TNS and then it should alert the user what need to be fixed at least at a minimum with the tns doctor.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the tns command after upgrading Xcode, then run tns doctor and inspect the CLI entry points that perform these checks. Done means the CLI detects missing Xcode support files and tns doctor reports an actionable fix instead of appearing to hang.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.