[tests] Fix MT4134 test to take into account frameworks introduced in iOS 11.4. (#4242)

This test requires bots with Xcode 8.3 to trigger, which is why this hasn't been caught before.
This commit is contained in:
Rolf Bjarne Kvinge 2018-06-13 22:08:56 -07:00 коммит произвёл GitHub
Родитель 4b707d961e
Коммит fd8e8f1d42
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -290,6 +290,7 @@ class MyObjectErr : NSObject, IFoo1, IFoo2
new { Framework = "IOSurface", Version = "11.0" },
new { Framework = "ARKit", Version = "11.0" },
new { Framework = "BusinessChat", Version = "11.3" },
new { Framework = "ClassKit", Version = "11.4" },
};
foreach (var framework in invalidFrameworks)
mtouch.AssertError (4134, $"Your application is using the '{framework.Framework}' framework, which isn't included in the iOS SDK you're using to build your app (this framework was introduced in iOS {framework.Version}, while you're building with the iOS {mtouch.Sdk} SDK.) Please select a newer SDK in your app's iOS Build options.");