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.

Confusing error message when Xcode wants to install extra components

See original GitHub issue

Environment

info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.4
    CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
    Memory: 1.40 GB / 16.00 GB
    Shell: 2.6.0 - /usr/local/bin/fish
  Binaries:
    Node: 8.10.0 - ~/.nvm/versions/node/v8.10.0/bin/node
    Yarn: Using globally installed version of Yarn
1.12.1 - /opt/facebook/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v8.10.0/bin/npm
    Watchman: 4.9.4 - /opt/facebook/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5791312
    Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.2 => 0.61.2

Description

Tried to run yarn ios. Got this:

Screen Shot 2019-10-14 at 3 30 46 PM

The actual problem was that when I started Xcode, it asked to install “missing components”.

Reproducible Demo

I suppose, run any projects when Xcode has “missing components”.

So What?

If we can detect this particular problem, we can show a better message than “could not parse JSON”. Ideally we should launch the command that prompts to install those Xcode “missing components” automatically.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rickhanloniicommented, Oct 14, 2019

Thanks @iansu, @SBinLondon is going to tackle this!

0reactions
gaearoncommented, Oct 14, 2019

It was an existing machine. Maybe I did a system update or something.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Component Installation fails so can't start Xcode anymore
I try to open Xcode and a window "Xcode Component Installation" opens. ... A message is displayed all the time I try: An...
Read more >
Install additional required components unknown error occurs ...
It works, When I update the Xcode to latest version Xode 11.2.1. Installing components... enter image description here. Xcode Version 11.2.1
Read more >
xcode - Repeatedly Being Asked to Install Command Line Tools
Open Launchpad and search for "Xcode" · Click and hold the Xcode icon till an "x" appears · Click the "x" and then...
Read more >
Troubleshooting common React Native bugs - LogRocket Blog
This troubleshooting guide shares how to easily find and address common React Native bugs. See common error examples.
Read more >
Troubleshooting - Unity - Manual
If you are trying to install a new package from the registry and it is not working, it might be due to permission...
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