Ejemplo n.º 1
0
        private static bool IsIOSSupportedInternal()
        {
            try
            {
                return(IsRunningOnMac && AppleSimulator.GetAvailableSimulators().Any());
            }
            catch { }

            return(false);
        }
Ejemplo n.º 2
0
        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);
        }