[mmp] Map macOS 10.12.4 SDK with Xcode 8.3 (#1759)
This should stop errors like below to happen on wrench ``` Xamarin.Bundler.MonoMacException: The type 'AVFoundation.IAVContentKeyRecipient' (used as a parameter in AVFoundation.AVContentKeySession.Add) is not available in macOS 10.12.2 (it was introduced in macOS 10.12.4). Please build with a newer macOS SDK (usually done by using the most recent version of Xcode). ```
This commit is contained in:
Родитель
130b269cce
Коммит
566a7a4dad
|
@ -589,6 +589,8 @@ namespace Xamarin.Bundler {
|
|||
static Version MutateSDKVersionToPointRelease (Version rv)
|
||||
{
|
||||
if (rv.Major == 10 && (rv.Revision == 0 || rv.Revision == -1)) {
|
||||
if (rv.Minor == 12 && XcodeVersion >= new Version (8, 3))
|
||||
return new Version (rv.Major, rv.Minor, 4);
|
||||
if (rv.Minor == 12 && XcodeVersion >= new Version (8, 2))
|
||||
return new Version (rv.Major, rv.Minor, 2);
|
||||
if (rv.Minor == 12 && XcodeVersion >= new Version (8, 1))
|
||||
|
|
Загрузка…
Ссылка в новой задаче