[mtouch] Show error in case of unexpected behavior.

This commit is contained in:
Rolf Bjarne Kvinge 2019-02-11 12:50:58 +01:00
Родитель 019fcb6a83
Коммит c54fc2431f
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -1432,8 +1432,7 @@ namespace Xamarin.Bundler {
MonoNativeMode = DeploymentTarget.Major >= 3 ? MonoNativeMode.Unified : MonoNativeMode.Compat;
break;
default:
MonoNativeMode = MonoNativeMode.None;
break;
throw ErrorHelper.CreateError (71, "Unknown platform: {0}. This usually indicates a bug in Xamarin.iOS; please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case.", Platform);
}
}