public SingleArchitecture(XCodePlatforms platform, XCodeSDKs sdk, XCodeArchitectures architecture) { Platform = platform; SimulatorSdk = sdk; DeviceSdk = sdk; SimulatorArchitectures = architecture; DeviceArchitectures = architecture; }
public static XCodeArcitecture GetArchitecture(XCodePlatforms platforms) { switch (platforms) { case XCodePlatforms.iOS: return(iOS); case XCodePlatforms.tvOS: return(tvOS); case XCodePlatforms.MacOSX: return(MacOSX); } throw new NotSupportedException($"The platform'{platforms}' is not yet supported."); }