[apitest] Don't instantiate an AVCaptureView.
It may cause macOS to try to show a permission dialog, which fails because the app is executed from a non-interactive session, and the end is terminated due to a privacy violation (even if the app has all the required plist entries).
This commit is contained in:
Родитель
0a3555fd36
Коммит
5dab3372ab
|
@ -132,6 +132,9 @@ namespace Xamarin.Mac.Tests
|
|||
break;
|
||||
case "QTMovie":
|
||||
return TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 14, 4); // Broke in macOS 10.14.4.
|
||||
case "AVCaptureView":
|
||||
// Deallocating a AVCaptureView makes it trigger a permission dialog, which we don't want, so just skip this type.
|
||||
return true;
|
||||
}
|
||||
|
||||
switch (t.Namespace) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче