private static bool IsIOSSupportedInternal() { try { return(IsRunningOnMac && AppleSimulator.GetAvailableSimulators().Any()); } catch { } return(false); }
private static bool IsIOSSupportedInternal() { try { var hasSimulators = AppleSimulator.GetAvailableSimulators().Any(); if (IsRunningOnMac && !hasSimulators) { Logger.WriteError("You appear to be running on macOS, but there are no available Simulators installed."); } return(IsRunningOnMac && hasSimulators); } catch { } return(false); }