Flipper: xcodebuild is trying to install Apple-provided software

Created on 1 Dec 2019  路  3Comments  路  Source: facebook/flipper

馃悰 Bug Report

When using yarn start on a local fork (v0.29.3), I'm prompted with:

xcodebuild is trying to install Apple-provided software

Even when I provide my password, the prompt continuously re-appears.

Any idea what code in Flipper could trigger this prompt?

To Reproduce

Idk, probably dependent on my system.

Expected Behavior

Only ask for my password once.

Environment

  • Flipper v0.29.3
  • macOS v10.14.5
  • Xcode v10.2.1
Stale

Most helpful comment

We've seen this happen when you have an xcode version installed that has some invalid certificates that it uses to update itself.

Basically, flipper uses the xcode cli to continually poll for connected devices, this cli takes the opportunity to update itself every time it's run. But if for some reason that update fails, the command will succeed, but it'll attempt to update again next time, and continue failing forever.

If this is indeed the problem, it can be fixed by installing a different version of xcode and using xcode-select to select it.

All 3 comments

We've seen this happen when you have an xcode version installed that has some invalid certificates that it uses to update itself.

Basically, flipper uses the xcode cli to continually poll for connected devices, this cli takes the opportunity to update itself every time it's run. But if for some reason that update fails, the command will succeed, but it'll attempt to update again next time, and continue failing forever.

If this is indeed the problem, it can be fixed by installing a different version of xcode and using xcode-select to select it.

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

Was this page helpful?
0 / 5 - 0 ratings