Internal Xcode install instruction
Reviewed By: elboman Differential Revision: D51257660 fbshipit-source-id: 6cf213135f1070def3e62e936d6147b15749b7de
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9dea899701
commit
cb485613e4
@@ -148,7 +148,7 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks {
|
||||
run: async (e: FlipperDoctor.EnvironmentInfo) => {
|
||||
const hasProblem = e.IDEs == null || e.IDEs.Xcode == null;
|
||||
const message = hasProblem
|
||||
? `Xcode is not installed. ${installXcode}.`
|
||||
? `Xcode is not installed.\n${installXcode}.`
|
||||
: `Xcode version ${e.IDEs.Xcode.version} is installed at "${e.IDEs.Xcode.path}".`;
|
||||
return {
|
||||
hasProblem,
|
||||
|
||||
@@ -133,7 +133,11 @@ function CollapsableCategory(props: {
|
||||
key={check.key}
|
||||
header={check.label}
|
||||
extra={<CheckIcon status={check.result.status} />}>
|
||||
<Paragraph>{check.result.message}</Paragraph>
|
||||
{check.result.message?.split('\n').map((line, index) => (
|
||||
<Paragraph key={index} style={{marginBottom: 0}}>
|
||||
{line}
|
||||
</Paragraph>
|
||||
))}
|
||||
{check.result.commands && (
|
||||
<List>
|
||||
{check.result.commands.map(({title, command}, i) => (
|
||||
|
||||
Reference in New Issue
Block a user