Skip to content

Commit

Permalink
Added API to get the recommended Xcode version value
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Oct 9, 2018
1 parent 3adc4a9 commit 62cdeac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Xamarin.MacDev/MonoTouchSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,17 @@ static string GetPlatformKey (PlatformName platform)
}
}

public Version RecommendedXcodeVersion {
get {
PString version;

if (!versions.TryGetValue ("RecommendedXcodeVersion", out version))
return new Version (8, 0);

return System.Version.Parse (version.Value);
}
}

public IList<IPhoneSdkVersion> GetKnownSdkVersions (PlatformName platform)
{
var list = new List<IPhoneSdkVersion> ();
Expand Down

0 comments on commit 62cdeac

Please sign in to comment.