diff --git a/desktop/doctor/src/index.tsx b/desktop/doctor/src/index.tsx index 22fb87da6..41953c166 100644 --- a/desktop/doctor/src/index.tsx +++ b/desktop/doctor/src/index.tsx @@ -137,26 +137,6 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks { isRequired: false, isSkipped: false, healthchecks: [ - { - key: 'ios.sdk', - label: 'SDK Installed', - isRequired: true, - run: async (e: FlipperDoctor.EnvironmentInfo) => { - const hasProblem = - !e.SDKs['iOS SDK'] || - !e.SDKs['iOS SDK'].Platforms || - !e.SDKs['iOS SDK'].Platforms.length; - const message = hasProblem - ? 'iOS SDK is not installed. You can install it using Xcode (https://developer.apple.com/xcode/).' - : `iOS SDK is installed for the following platforms: ${JSON.stringify( - e.SDKs['iOS SDK'].Platforms, - )}.`; - return { - hasProblem, - message, - }; - }, - }, { key: 'ios.xcode', label: 'XCode Installed', @@ -217,6 +197,26 @@ export function getHealthchecks(): FlipperDoctor.Healthchecks { }; }, }, + { + key: 'ios.sdk', + label: 'SDK Installed', + isRequired: true, + run: async (e: FlipperDoctor.EnvironmentInfo) => { + const hasProblem = + !e.SDKs['iOS SDK'] || + !e.SDKs['iOS SDK'].Platforms || + !e.SDKs['iOS SDK'].Platforms.length; + const message = hasProblem + ? 'iOS SDK is not installed. You can install it using Xcode (https://developer.apple.com/xcode/).' + : `iOS SDK is installed for the following platforms: ${JSON.stringify( + e.SDKs['iOS SDK'].Platforms, + )}.`; + return { + hasProblem, + message, + }; + }, + }, { key: 'ios.xctrace', label: 'xctrace exists',