public static IPhoneSdkVersion GetDefault(AppleSdk sdk, bool sim) { var v = sdk.GetInstalledSdkVersions(sim); return(v.Count > 0 ? v[v.Count - 1] : UseDefault); }
public IPhoneSdkVersion ResolveIfDefault(AppleSdk sdk, bool sim) { return(IsUseDefault ? GetDefault(sdk, sim) : this); }