From cfcad76e74aed340b471e4e38bbcc4fab9da7f22 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 6 Mar 2023 04:54:36 -0800 Subject: [PATCH] Demote Xcode select error to warning Summary: This is firing regularly when people have a broken local setup. Reviewed By: lawrencelomax Differential Revision: D43834469 fbshipit-source-id: 1fbc2cf52f93046984e9846f8aed931106542b03 --- .../flipper-server-core/src/devices/ios/iOSDeviceManager.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/flipper-server-core/src/devices/ios/iOSDeviceManager.tsx b/desktop/flipper-server-core/src/devices/ios/iOSDeviceManager.tsx index 8fa5e7627..a96a16d5e 100644 --- a/desktop/flipper-server-core/src/devices/ios/iOSDeviceManager.tsx +++ b/desktop/flipper-server-core/src/devices/ios/iOSDeviceManager.tsx @@ -220,7 +220,8 @@ export class IOSDeviceManager { description: errorMessage, }); } catch (e) { - console.error('Failed to determine Xcode version:', e); + // This is not an error. It depends on the user's local setup that we cannot influence. + console.warn('Failed to determine Xcode version:', e); } } }