this PR addresses a few issues with the loading devices flow:
checkIfCLIInstalled no longer logs errors when returning false instead just logs with debug level, this change makes the logs more alined with expected results for setups without xcode
initial device load is performed with force, as xcode installation could change between session of the ide
initial loading screen no longer "jumps" between states
removed DYLD_FRAMEWORK_PATH as it is no longer needed
trySelectingInitialDevice() creates "devicesChanged" listeners before selectingInitial device is complete, so it catches cases in which lastDeviceId points to the device that no longer exists (e.g. because of xcode update)
this PR addresses a few issues with the loading devices flow:
checkIfCLIInstalled
no longer logs errors when returning false instead just logs with debug level, this change makes the logs more alined with expected results for setups without xcodeDYLD_FRAMEWORK_PATH
as it is no longer neededtrySelectingInitialDevice()
creates "devicesChanged" listeners before selectingInitial device is complete, so it catches cases in whichlastDeviceId
points to the device that no longer exists (e.g. because of xcode update)