[tools] Don't register any AssetsLibrary classes, the framework is deprecated and will be removed.
This commit is contained in:
Родитель
fe7a7708c4
Коммит
c2845a5226
|
@ -2903,6 +2903,13 @@ namespace Registrar {
|
|||
}
|
||||
}
|
||||
|
||||
if (Driver.XcodeVersion.Major >= 16) {
|
||||
if (@class.Type.Namespace == "AssetsLibrary") {
|
||||
exceptions.Add (ErrorHelper.CreateWarning (4190, $"The class '{@class.Type.FullName}' will not be registered because the {@class.Type.Namespace} framework has been deprecated from the {App.Platform} SDK."));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (@class.IsFakeProtocol)
|
||||
continue;
|
||||
|
||||
|
|
|
@ -3034,6 +3034,15 @@ namespace Xamarin.Bundler {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to The class '{0}' will not be registered because the {1} framework has been deprecated from the {2} SDK..
|
||||
/// </summary>
|
||||
public static string MT4190 {
|
||||
get {
|
||||
return ResourceManager.GetString("MT4190", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Missing '{0}' compiler. Please install Xcode 'Command-Line Tools' component
|
||||
/// .
|
||||
|
|
|
@ -1924,6 +1924,10 @@
|
|||
<value>The class '{0}' will not be registered because it has been removed from the {1} SDK.</value>
|
||||
</data>
|
||||
|
||||
<data name="MT4190" xml:space="preserve">
|
||||
<value>The class '{0}' will not be registered because the {1} framework has been deprecated from the {2} SDK.</value>
|
||||
</data>
|
||||
|
||||
<data name="MT5101" xml:space="preserve">
|
||||
<value>Missing '{0}' compiler. Please install Xcode 'Command-Line Tools' component
|
||||
</value>
|
||||
|
|
Загрузка…
Ссылка в новой задаче