This PR fixes fixes issue where error messages for unsupported platforms were not displayed and prevents Xcode errors from appearing on Windows by ensuring the checkXcodeExists function is only executed on macOS.
Previously, an error related to the OS const in platform.ts was always thrown before the check in extension.ts. This change ensures the verification process happens correctly.
Fixes #620
How Has This Been Tested:
run extension on currently unsupported platform (linux)
run extension and check the logs for any errors caused by xcrun on Windows
This PR fixes fixes issue where error messages for unsupported platforms were not displayed and prevents Xcode errors from appearing on Windows by ensuring the checkXcodeExists function is only executed on macOS.
Previously, an error related to the OS const in
platform.ts
was always thrown before the check inextension.ts
. This change ensures the verification process happens correctly.Fixes #620
How Has This Been Tested: