[src] Add back manual NewsstandKitLibrary constant for backwards compatibility. (#18841)
This commit is contained in:
Родитель
07d77bf131
Коммит
6c06feea40
|
@ -19,5 +19,10 @@ namespace ObjCRuntime {
|
|||
|
||||
// iOS 9
|
||||
public const string libcompressionLibrary = "/usr/lib/libcompression.dylib";
|
||||
|
||||
#if !XAMCORE_5_0
|
||||
// Apple removed the NewsstandKit framework from iOS in Xcode 15.
|
||||
public const string NewsstandKitLibrary = "/System/Library/Frameworks/NewsstandKit.framework/NewsstandKit";
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1064,6 +1064,10 @@ namespace Introspection {
|
|||
case "SdkVersion":
|
||||
Assert.True (Version.TryParse (s, out _), fi.Name);
|
||||
break;
|
||||
#if !XAMCORE_5_0
|
||||
case "NewsstandKitLibrary": // Removed from iOS, but we have to keep the constant around for binary compatibility.
|
||||
break;
|
||||
#endif
|
||||
#if !NET
|
||||
#if __TVOS__
|
||||
case "PassKitLibrary": // not part of tvOS
|
||||
|
|
Загрузка…
Ссылка в новой задаче