Merge pull request #6431 from xamarin/issue-6222-xcode11

[xcode11] Fix several test and API issues that made apitest, introspection and xammac tests fail on macOS 10.15.
This commit is contained in:
Rolf Bjarne Kvinge 2019-06-28 18:33:23 +02:00 коммит произвёл GitHub
Родитель 920e2b7c13 da0793775e
Коммит 8e7bc16947
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
43 изменённых файлов: 236 добавлений и 137 удалений

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

@ -18478,7 +18478,7 @@ namespace AppKit {
} }
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
partial interface NSTextContainer : NSCoding { partial interface NSTextContainer : NSSecureCoding {
[Export ("initWithContainerSize:"), Internal] [Export ("initWithContainerSize:"), Internal]
[Sealed] [Sealed]
IntPtr InitWithContainerSize (CGSize size); IntPtr InitWithContainerSize (CGSize size);

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

@ -95,7 +95,7 @@ namespace CoreML {
[Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)] [Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface MLFeatureDescription : NSCopying { interface MLFeatureDescription : NSCopying, NSSecureCoding {
[Export ("name")] [Export ("name")]
string Name { get; } string Name { get; }
@ -256,7 +256,7 @@ namespace CoreML {
[Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)] [Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface MLModelDescription { interface MLModelDescription : NSSecureCoding {
[Export ("inputDescriptionsByName")] [Export ("inputDescriptionsByName")]
NSDictionary<NSString, MLFeatureDescription> InputDescriptionsByName { get; } NSDictionary<NSString, MLFeatureDescription> InputDescriptionsByName { get; }
@ -369,7 +369,7 @@ namespace CoreML {
[Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)] [Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)]
[DisableDefaultCtor] [DisableDefaultCtor]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface MLDictionaryConstraint { interface MLDictionaryConstraint : NSSecureCoding {
[Export ("keyType")] [Export ("keyType")]
MLFeatureType KeyType { get; } MLFeatureType KeyType { get; }
@ -378,7 +378,7 @@ namespace CoreML {
[Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)] [Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)]
[DisableDefaultCtor] [DisableDefaultCtor]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface MLImageConstraint { interface MLImageConstraint : NSSecureCoding {
[Export ("pixelsHigh")] [Export ("pixelsHigh")]
nint PixelsHigh { get; } nint PixelsHigh { get; }
@ -397,7 +397,7 @@ namespace CoreML {
[Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)] [Watch (4,0), TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)]
[DisableDefaultCtor] [DisableDefaultCtor]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface MLMultiArrayConstraint { interface MLMultiArrayConstraint : NSSecureCoding {
[Internal] [Internal]
[Export ("shape")] [Export ("shape")]
@ -497,7 +497,7 @@ namespace CoreML {
[Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)] [Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface MLImageSize { interface MLImageSize : NSSecureCoding {
[Export ("pixelsWide")] [Export ("pixelsWide")]
nint PixelsWide { get; } nint PixelsWide { get; }
@ -509,7 +509,7 @@ namespace CoreML {
[Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)] [Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface MLImageSizeConstraint { interface MLImageSizeConstraint : NSSecureCoding {
[Export ("type")] [Export ("type")]
MLImageSizeConstraintType Type { get; } MLImageSizeConstraintType Type { get; }
@ -527,7 +527,7 @@ namespace CoreML {
[Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)] [Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface MLMultiArrayShapeConstraint { interface MLMultiArrayShapeConstraint : NSSecureCoding {
[Export ("type")] [Export ("type")]
MLMultiArrayShapeConstraintType Type { get; } MLMultiArrayShapeConstraintType Type { get; }
@ -569,7 +569,7 @@ namespace CoreML {
[Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)] [Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface MLSequenceConstraint : NSCopying { interface MLSequenceConstraint : NSCopying, NSSecureCoding {
[Export ("valueDescription")] [Export ("valueDescription")]
MLFeatureDescription ValueDescription { get; } MLFeatureDescription ValueDescription { get; }
@ -580,7 +580,7 @@ namespace CoreML {
[Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)] [Watch (5,0), TV (12,0), Mac (10,14, onlyOn64: true), iOS (12,0)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
interface MLModelConfiguration : NSCopying { interface MLModelConfiguration : NSCopying, NSSecureCoding {
[Export ("computeUnits", ArgumentSemantic.Assign)] [Export ("computeUnits", ArgumentSemantic.Assign)]
MLComputeUnits ComputeUnits { get; set; } MLComputeUnits ComputeUnits { get; set; }

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

@ -3938,7 +3938,7 @@ namespace Foundation
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
// 'init' returns NIL // 'init' returns NIL
[DisableDefaultCtor] [DisableDefaultCtor]
interface NSException : NSCoding, NSCopying { interface NSException : NSSecureCoding, NSCopying {
[DesignatedInitializer] [DesignatedInitializer]
[Export ("initWithName:reason:userInfo:")] [Export ("initWithName:reason:userInfo:")]
IntPtr Constructor (string name, string reason, [NullAllowed] NSDictionary userInfo); IntPtr Constructor (string name, string reason, [NullAllowed] NSDictionary userInfo);

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

@ -7391,7 +7391,7 @@ namespace MetalPerformanceShaders {
[TV (11,3), Mac (10,13,4, onlyOn64: true), iOS (11,3)] [TV (11,3), Mac (10,13,4, onlyOn64: true), iOS (11,3)]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface MPSNNNeuronDescriptor : NSCopying { interface MPSNNNeuronDescriptor : NSCopying, NSSecureCoding {
[Export ("neuronType", ArgumentSemantic.Assign)] [Export ("neuronType", ArgumentSemantic.Assign)]
MPSCnnNeuronType NeuronType { get; set; } MPSCnnNeuronType NeuronType { get; set; }

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

@ -1066,10 +1066,7 @@ namespace Photos
#endif #endif
[Mac (10,12, onlyOn64 : true)] [Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
interface PHLivePhoto interface PHLivePhoto : NSSecureCoding, NSCopying
#if !MONOMAC
: NSSecureCoding, NSCopying
#endif
{ {
[Export ("size")] [Export ("size")]
CGSize Size { get; } CGSize Size { get; }

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

@ -206,7 +206,7 @@ namespace SafariServices {
[Mac (10,12, onlyOn64 : true)] [Mac (10,12, onlyOn64 : true)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface SFSafariPage : NSSecureCoding interface SFSafariPage : NSSecureCoding, NSCopying
{ {
[Export ("dispatchMessageToScriptWithName:userInfo:")] [Export ("dispatchMessageToScriptWithName:userInfo:")]
void DispatchMessageToScript (string messageName, [NullAllowed] NSDictionary userInfo); void DispatchMessageToScript (string messageName, [NullAllowed] NSDictionary userInfo);
@ -298,7 +298,7 @@ namespace SafariServices {
[Mac (10,12, onlyOn64: true)] [Mac (10,12, onlyOn64: true)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface SFSafariTab : NSSecureCoding interface SFSafariTab : NSSecureCoding, NSCopying
{ {
[Async] [Async]
[Export ("getActivePageWithCompletionHandler:")] [Export ("getActivePageWithCompletionHandler:")]
@ -329,7 +329,7 @@ namespace SafariServices {
[Mac (10,12, onlyOn64: true)] [Mac (10,12, onlyOn64: true)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface SFSafariToolbarItem : NSSecureCoding interface SFSafariToolbarItem : NSSecureCoding, NSCopying
{ {
[Deprecated (PlatformName.MacOSX, 10,13, message: "Use 'SetEnabled (bool)' or 'SetBadgeText' instead.")] [Deprecated (PlatformName.MacOSX, 10,13, message: "Use 'SetEnabled (bool)' or 'SetBadgeText' instead.")]
[Export ("setEnabled:withBadgeText:")] [Export ("setEnabled:withBadgeText:")]
@ -359,7 +359,7 @@ namespace SafariServices {
[Mac (10,12, onlyOn64: true)] [Mac (10,12, onlyOn64: true)]
[BaseType (typeof(NSObject))] [BaseType (typeof(NSObject))]
[DisableDefaultCtor] [DisableDefaultCtor]
interface SFSafariWindow : NSSecureCoding interface SFSafariWindow : NSSecureCoding, NSCopying
{ {
[Async] [Async]
[Export ("getActiveTabWithCompletionHandler:")] [Export ("getActiveTabWithCompletionHandler:")]

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

@ -582,7 +582,7 @@ namespace Vision {
[Abstract] [Abstract]
[DisableDefaultCtor] [DisableDefaultCtor]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface VNFaceLandmarkRegion { interface VNFaceLandmarkRegion : NSCopying, NSSecureCoding {
[Export ("pointCount")] [Export ("pointCount")]
nuint PointCount { get; } nuint PointCount { get; }
@ -606,7 +606,7 @@ namespace Vision {
[Abstract] [Abstract]
[DisableDefaultCtor] [DisableDefaultCtor]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
interface VNFaceLandmarks { interface VNFaceLandmarks : NSCopying, NSSecureCoding {
[Export ("confidence")] [Export ("confidence")]
float Confidence { get; } float Confidence { get; }

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

@ -54,7 +54,7 @@ namespace UIKit {
[iOS (7,0)] [iOS (7,0)]
[DesignatedDefaultCtor] [DesignatedDefaultCtor]
[BaseType (typeof (NSObject))] [BaseType (typeof (NSObject))]
partial interface NSLayoutManager : NSCoding { partial interface NSLayoutManager : NSSecureCoding {
#if !XAMCORE_4_0 #if !XAMCORE_4_0
// This was removed in the headers in the macOS 10.11 SDK // This was removed in the headers in the macOS 10.11 SDK

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

@ -16,5 +16,17 @@
<string>NSApplication</string> <string>NSApplication</string>
<key>LSUIElement</key> <key>LSUIElement</key>
<string>1</string> <string>1</string>
<key>NSAppleMusicUsageDescription</key>
<string>Testing tastes</string>
<key>NSCameraUsageDescription</key>
<string>Smile!</string>
<key>NSContactsUsageDescription</key>
<string>Testing friends</string>
<key>NSHomeKitUsageDescription</key>
<string>Testing roofs</string>
<key>NSMicrophoneUsageDescription</key>
<string>Testing mike</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Testing lens</string>
</dict> </dict>
</plist> </plist>

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

@ -24,7 +24,7 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>0</WarningLevel> <WarningLevel>0</WarningLevel>
<ConsolePause>false</ConsolePause> <ConsolePause>false</ConsolePause>
<EnableCodeSigning>false</EnableCodeSigning> <EnableCodeSigning>true</EnableCodeSigning>
<CodeSigningKey>Mac Developer</CodeSigningKey> <CodeSigningKey>Mac Developer</CodeSigningKey>
<CreatePackage>false</CreatePackage> <CreatePackage>false</CreatePackage>
<EnablePackageSigning>false</EnablePackageSigning> <EnablePackageSigning>false</EnablePackageSigning>

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

@ -27,6 +27,12 @@ namespace apitest
Assert.AreEqual (textView.Value, "This is a new string", "NSTextInputClientSetup - Failed to set value"); Assert.AreEqual (textView.Value, "This is a new string", "NSTextInputClientSetup - Failed to set value");
} }
[TearDown]
public void TearDown ()
{
textView.Dispose ();
}
[Test] [Test]
public void NSTextInputClient_ShouldInsertText () public void NSTextInputClient_ShouldInsertText ()
{ {
@ -42,6 +48,9 @@ namespace apitest
Assert.IsTrue (textView.HasMarkedText, "NSTextInputClient_ShouldMarkText - Failed to mark text"); Assert.IsTrue (textView.HasMarkedText, "NSTextInputClient_ShouldMarkText - Failed to mark text");
Assert.AreEqual (textView.MarkedRange, new NSRange (5, 7)); Assert.AreEqual (textView.MarkedRange, new NSRange (5, 7));
// Unmarking the text fixes a crasher: https://github.com/xamarin/maccore/issues/1794
textView.UnmarkText ();
} }
[Test] [Test]

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

@ -132,6 +132,14 @@ namespace Xamarin.Mac.Tests
break; break;
case "QTMovie": case "QTMovie":
return TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 14, 4); // Broke in macOS 10.14.4. 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) {
case "QTKit":
return TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 15); // QTKit is gone in 10.15.
} }
return false; return false;

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

@ -609,6 +609,37 @@ namespace Introspection {
return true; return true;
} }
break; break;
case "VNFaceLandmarkRegion":
case "VNFaceLandmarks":
case "PHLivePhoto":
switch (selectorName) {
case "copyWithZone:":
case "encodeWithCoder:":
// Conformance added in Xcode 11
if (!TestRuntime.CheckXcodeVersion (11, 0))
return true;
break;
}
break;
case "MPSNNNeuronDescriptor":
case "MLDictionaryConstraint":
case "MLFeatureDescription":
case "MLImageConstraint":
case "MLImageSize":
case "MLImageSizeConstraint":
case "MLModelConfiguration":
case "MLModelDescription":
case "MLMultiArrayConstraint":
case "MLMultiArrayShapeConstraint":
case "MLSequenceConstraint":
switch (selectorName) {
case "encodeWithCoder:":
// Conformance added in Xcode 11
if (!TestRuntime.CheckXcodeVersion (11, 0))
return true;
break;
}
break;
} }
// old binding mistake // old binding mistake

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

@ -205,6 +205,7 @@ namespace Introspection
"Ecn", // Explicit Congestion Notification "Ecn", // Explicit Congestion Notification
"Ect", // ECN Capable Transport "Ect", // ECN Capable Transport
"Editability", "Editability",
"Edr",
"Eof", // acronym End-Of-File "Eof", // acronym End-Of-File
"Elu", "Elu",
"Emagic", "Emagic",
@ -214,6 +215,7 @@ namespace Introspection
"Enc", "Enc",
"Eppc", "Eppc",
"Eftpos", // Electronic funds transfer at point of sale "Eftpos", // Electronic funds transfer at point of sale
"Eotf", // DisplayP3_PQ_Eotf
"Exhange", "Exhange",
"Exp", "Exp",
"Expr", "Expr",
@ -291,6 +293,7 @@ namespace Introspection
"Iso", "Iso",
"Itf", "Itf",
"Itu", "Itu",
"Itur", // Itur_2020_Hlg
"Jcb", // Japanese credit card company "Jcb", // Japanese credit card company
"Jfif", "Jfif",
"Jis", "Jis",
@ -383,6 +386,7 @@ namespace Introspection
"Orth", "Orth",
"ove", "ove",
"Paeth", // PNG filter "Paeth", // PNG filter
"Palettize",
"Parms", // short for Parameters "Parms", // short for Parameters
"Peap", "Peap",
"Perlin", "Perlin",
@ -500,6 +504,8 @@ namespace Introspection
"Tls", "Tls",
"Ttls", "Ttls",
"Tlv", "Tlv",
"Toc",
"Toci",
"Toi", "Toi",
"Transceive", "Transceive",
"Trc", "Trc",
@ -534,6 +540,7 @@ namespace Introspection
"Voronoi", "Voronoi",
"Vnode", "Vnode",
"Vpn", "Vpn",
"Warichu",
"Wep", "Wep",
"Wpa", "Wpa",
"Warpable", "Warpable",

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

@ -18,5 +18,17 @@
<string>introspection</string> <string>introspection</string>
<key>LSUIElement</key> <key>LSUIElement</key>
<string>1</string> <string>1</string>
<key>NSAppleMusicUsageDescription</key>
<string>Testing tastes</string>
<key>NSCameraUsageDescription</key>
<string>Smile!</string>
<key>NSContactsUsageDescription</key>
<string>Testing friends</string>
<key>NSHomeKitUsageDescription</key>
<string>Testing roofs</string>
<key>NSMicrophoneUsageDescription</key>
<string>Testing mike</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Testing lens</string>
</dict> </dict>
</plist> </plist>

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

@ -178,6 +178,34 @@ namespace Introspection {
// https://bugzilla.xamarin.com/show_bug.cgi?id=46624 // https://bugzilla.xamarin.com/show_bug.cgi?id=46624
// https://trello.com/c/T6vkA2QF/62-29311598-ikpicturetaker-crashes-randomly-upon-deallocation?menu=filter&filter=corenfc // https://trello.com/c/T6vkA2QF/62-29311598-ikpicturetaker-crashes-randomly-upon-deallocation?menu=filter&filter=corenfc
return true; return true;
case "Photos.PHProjectChangeRequest":
if (TestRuntime.CheckSystemVersion (ObjCRuntime.PlatformName.MacOSX, 10, 15)) {
/*
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This method can only be called from inside of -[PHPhotoLibrary performChanges:completionHandler:] or -[PHPhotoLibrary performChangesAndWait:error:]'
0 CoreFoundation 0x00007fff34f29063 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6a6aa06b objc_exception_throw + 48
2 Photos 0x00007fff3fe8a643 +[PHPhotoLibrary stringFromPHPhotoLibraryType:] + 0
3 Photos 0x00007fff3ff6055d -[PHChangeRequest init] + 85
*/
return true;
}
break;
case "AVKit.AVCaptureView":
// Deallocating the AVCaptureView starts up the A/V capturing pipeline (!):
/*
24 com.apple.avfoundation 0x00007fff28298a2f -[AVCaptureSession startRunning] + 97
25 com.apple.AVKit 0x00007fff2866621f __72-[AVCaptureController _createDefaultSessionAndFileOutputAsynchronously:]_block_invoke_2 + 293
26 com.apple.AVKit 0x00007fff2866609a __72-[AVCaptureController _createDefaultSessionAndFileOutputAsynchronously:]_block_invoke + 489
27 com.apple.AVKit 0x00007fff28661bd4 -[AVCaptureController _createDefaultSessionAndFileOutputAsynchronously:] + 234
28 com.apple.AVKit 0x00007fff28661c53 -[AVCaptureController session] + 53
29 com.apple.AVKit 0x00007fff28670d2b -[AVCaptureView dealloc] + 124
This is unfortunate because capturing audio/video requires permission,
and since macOS tests don't execute in a session that can show UI,
the permission system (TCC) fails and the process ends up crashing
due to a privacy violation (even if the required entry is present in the Info.plist).
*/
return true;
} }
switch (type.Namespace) { switch (type.Namespace) {
@ -203,6 +231,10 @@ namespace Introspection {
if (!Mac.CheckSystemVersion (10, 12) || IntPtr.Size != 8) if (!Mac.CheckSystemVersion (10, 12) || IntPtr.Size != 8)
return true; return true;
break; break;
case "QTKit":
if (Mac.CheckSystemVersion (10, 15)) // QTKit is gone in 10.15
return true;
break;
} }
return base.Skip (type); return base.Skip (type);

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

@ -74,6 +74,15 @@ namespace Introspection {
case "NSTextBlock": case "NSTextBlock":
case "NSTextTable": case "NSTextTable":
case "NSTextTableBlock": case "NSTextTableBlock":
// Xcode 11 (running on macOS 10.15)
case "LAContext": // Conformance not in headers
case "ICHandle": // Conformance not in headers
case "ICNotification": // Conformance not in headers
case "ICNotificationManagerConfiguration": // Conformance not in headers
case "MKPolygon": // Conformance not in headers
case "MLPredictionOptions": // Conformance not in headers
case "NSUrlSessionTaskMetrics": // Conformance not in headers
case "NSUrlSessionTaskTransactionMetrics": // Conformance not in headers
return true; return true;
#if !UNIFIED #if !UNIFIED
// existing classic/old binary is not updated // existing classic/old binary is not updated
@ -106,6 +115,9 @@ namespace Introspection {
case "ACAccount": // Not declared in header file case "ACAccount": // Not declared in header file
case "NEFlowMetaData": // Not declared in header file case "NEFlowMetaData": // Not declared in header file
case "ACAccountCredential": // Not declared in header file case "ACAccountCredential": // Not declared in header file
// Xcode 11 (running on macOS 10.15)
case "NSCollectionViewUpdateItem": // Not declared in header file
case "MLPredictionOptions": // Not declared in header file
return true; return true;
} }
break; break;
@ -155,6 +167,15 @@ namespace Introspection {
case "NSPersistentHistoryToken": // Conformance not in headers case "NSPersistentHistoryToken": // Conformance not in headers
// Xcode 10 (running on macOS 10.14) // Xcode 10 (running on macOS 10.14)
case "NSTextAlternatives": case "NSTextAlternatives":
// Xcode 11 (running on macOS 10.15)
case "ICHandle": // Conformance not in headers
case "ICNotification": // Conformance not in headers
case "ICNotificationManagerConfiguration": // Conformance not in headers
case "LAContext": // Conformance not in headers
case "MKPolygon": // Conformance not in headers
case "MLPredictionOptions": // Conformance not in headers
case "NSUrlSessionTaskMetrics": // Conformance not in headers
case "NSUrlSessionTaskTransactionMetrics": // Conformance not in headers
return true; return true;
} }
break; break;

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

@ -113,6 +113,11 @@ namespace Introspection {
case "MonoMac.Growl": case "MonoMac.Growl":
case "Growl": case "Growl":
return true; return true;
case "QTKit":
// QTKit is gone in 10.15.
if (Mac.CheckSystemVersion (10, 15))
return true;
break;
} }
return base.Skip (type); return base.Skip (type);
@ -195,6 +200,13 @@ namespace Introspection {
if (!Mac.CheckSystemVersion (10, 14)) // Likely to be fixed when we do MPS binding if (!Mac.CheckSystemVersion (10, 14)) // Likely to be fixed when we do MPS binding
return true; return true;
break; break;
case "SFSafariPage":
case "SFSafariTab":
case "SFSafariToolbarItem":
case "SFSafariWindow":
if (!Mac.CheckSystemVersion (10, 15))
return true;
break;
} }
break; break;
case "readingOptionsForType:pasteboard:": case "readingOptionsForType:pasteboard:":
@ -637,6 +649,32 @@ namespace Introspection {
break; break;
} }
break; break;
case "ImageCaptureCore":
switch (type.Name) {
case "ICDevice":
switch (selectorName) {
case "buttonPressed":
// It's just gone! https://github.com/xamarin/maccore/issues/1796
if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 15))
return true;
break;
}
break;
}
break;
case "Photos":
switch (type.Name) {
case "PHAsset":
switch (selectorName) {
case "isSyncFailureHidden":
// It's just gone! https://github.com/xamarin/maccore/issues/1797
if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 15))
return true;
break;
}
break;
}
break;
} }
return base.Skip (type, selectorName); return base.Skip (type, selectorName);
} }
@ -1127,10 +1165,15 @@ namespace Introspection {
case "taskDescription": case "taskDescription":
case "setTaskDescription:": case "setTaskDescription:":
case "taskIdentifier": case "taskIdentifier":
if (!Mac.CheckSystemVersion (10, 11))
return true;
break;
case "priority": case "priority":
case "setPriority:": case "setPriority:":
if (!Mac.CheckSystemVersion (10, 11)) if (!Mac.CheckSystemVersion (10, 11))
return true; return true;
if (Mac.CheckSystemVersion (10, 15))
return true; // it works fine at both build time and runtime, so this is probably a weird implementation detail where reflection doesn't find the methods.
break; break;
} }
break; break;

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

@ -23,13 +23,14 @@
<DefineConstants>DEBUG;MONOMAC;$(DefineConstants)</DefineConstants> <DefineConstants>DEBUG;MONOMAC;$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>0</WarningLevel> <WarningLevel>0</WarningLevel>
<EnableCodeSigning>false</EnableCodeSigning> <EnableCodeSigning>true</EnableCodeSigning>
<CodeSigningKey>Mac Developer</CodeSigningKey> <CodeSigningKey>Mac Developer</CodeSigningKey>
<CreatePackage>false</CreatePackage> <CreatePackage>false</CreatePackage>
<EnablePackageSigning>false</EnablePackageSigning> <EnablePackageSigning>false</EnablePackageSigning>
<IncludeMonoRuntime>false</IncludeMonoRuntime> <IncludeMonoRuntime>false</IncludeMonoRuntime>
<UseSGen>false</UseSGen> <UseSGen>false</UseSGen>
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<Optimize>true</Optimize> <Optimize>true</Optimize>

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

@ -38,6 +38,9 @@ namespace MonoTouchFixtures.AVFoundation {
var imageSource = CGImageSource.FromData (imgdata); var imageSource = CGImageSource.FromData (imgdata);
Assert.NotNull (imageSource, "imageSource"); Assert.NotNull (imageSource, "imageSource");
// fetching the image count works around a crash in CopyAuxiliaryDataInfo on macOS 10.15 (https://github.com/xamarin/maccore/issues/1802).
Assert.AreNotEqual (0, imageSource.ImageCount, "ImageCount");
var info = imageSource.CopyAuxiliaryDataInfo (0, CGImageAuxiliaryDataType.Disparity); var info = imageSource.CopyAuxiliaryDataInfo (0, CGImageAuxiliaryDataType.Disparity);
Assert.NotNull (info, "info"); Assert.NotNull (info, "info");

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

@ -118,6 +118,8 @@ namespace MonoTouchFixtures.EventKit {
#if __WATCHOS__ #if __WATCHOS__
Assert.True (c.Immutable, "Immutable"); Assert.True (c.Immutable, "Immutable");
#elif MONOMAC
Assert.AreEqual (TestRuntime.CheckXcodeVersion (11, 0), c.Immutable, "Immutable");
#else #else
Assert.False (c.Immutable, "Immutable"); Assert.False (c.Immutable, "Immutable");
#endif #endif

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

@ -110,14 +110,17 @@ namespace MonoTouchFixtures.Metal {
} }
#if __MACOS__ #if __MACOS__
using (var descriptor = MTLTextureDescriptor.CreateTexture2DDescriptor (MTLPixelFormat.RGBA8Unorm, 64, 64, false)) { if (TestRuntime.CheckXcodeVersion (10, 0)) {
descriptor.StorageMode = MTLStorageMode.Private; if (!TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 14, 6)) // https://github.com/xamarin/maccore/issues/1800
using (var texture = device.CreateSharedTexture (descriptor)) { using (var descriptor = MTLTextureDescriptor.CreateTexture2DDescriptor (MTLPixelFormat.RGBA8Unorm, 64, 64, false)) {
Assert.IsNotNull (texture, "CreateSharedTexture (MTLTextureDescriptor): NonNull"); descriptor.StorageMode = MTLStorageMode.Private;
using (var texture = device.CreateSharedTexture (descriptor)) {
Assert.IsNotNull (texture, "CreateSharedTexture (MTLTextureDescriptor): NonNull");
using (var handle = texture.CreateSharedTextureHandle ()) using (var handle = texture.CreateSharedTextureHandle ())
using (var shared = device.CreateSharedTexture (handle)) using (var shared = device.CreateSharedTexture (handle))
Assert.IsNotNull (texture, "CreateSharedTexture (MTLSharedTextureHandle): NonNull"); Assert.IsNotNull (texture, "CreateSharedTexture (MTLSharedTextureHandle): NonNull");
}
} }
} }
#endif #endif
@ -273,28 +276,27 @@ namespace MonoTouchFixtures.Metal {
Assert.IsNotNull (library, "CreateArgumentEncoder (MTLArgumentDescriptor[]): NonNull"); Assert.IsNotNull (library, "CreateArgumentEncoder (MTLArgumentDescriptor[]): NonNull");
} }
TestRuntime.AssertXcodeVersion (10, 0); if (TestRuntime.CheckXcodeVersion (10, 0)) {
using (var descriptor = new MTLIndirectCommandBufferDescriptor ()) { if (!TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 14, 6)) // https://github.com/xamarin/maccore/issues/1801
using (var library = device.CreateIndirectCommandBuffer (descriptor, 1, MTLResourceOptions.CpuCacheModeDefault)) { using (var descriptor = new MTLIndirectCommandBufferDescriptor ()) {
Assert.IsNotNull (library, "CreateIndirectCommandBuffer: NonNull"); using (var library = device.CreateIndirectCommandBuffer (descriptor, 1, MTLResourceOptions.CpuCacheModeDefault)) {
Assert.IsNotNull (library, "CreateIndirectCommandBuffer: NonNull");
}
} }
}
TestRuntime.AssertXcodeVersion (10, 0); using (var evt = device.CreateEvent ()) {
using (var evt = device.CreateEvent ()) { Assert.IsNotNull (evt, "CreateEvent: NonNull");
Assert.IsNotNull (evt, "CreateEvent: NonNull"); }
}
TestRuntime.AssertXcodeVersion (10, 0); using (var evt = device.CreateSharedEvent ()) {
using (var evt = device.CreateSharedEvent ()) { Assert.IsNotNull (evt, "CreateSharedEvent: NonNull");
Assert.IsNotNull (evt, "CreateSharedEvent: NonNull"); }
}
TestRuntime.AssertXcodeVersion (10, 0); using (var evt1 = device.CreateSharedEvent ())
using (var evt1 = device.CreateSharedEvent ()) using (var evt_handle = evt1.CreateSharedEventHandle ())
using (var evt_handle = evt1.CreateSharedEventHandle ()) using (var evt = device.CreateSharedEvent (evt_handle)) {
using (var evt = device.CreateSharedEvent (evt_handle)) { Assert.IsNotNull (evt, "CreateSharedEvent (MTLSharedEventHandle): NonNull");
Assert.IsNotNull (evt, "CreateSharedEvent (MTLSharedEventHandle): NonNull"); }
} }
using (var descriptor = new MTLRenderPipelineDescriptor ()) using (var descriptor = new MTLRenderPipelineDescriptor ())

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

@ -343,7 +343,9 @@ namespace MonoTouchFixtures.Security {
Assert.That (trust.GetCustomAnchorCertificates ().Length, Is.EqualTo (certs.Count), "GetCustomAnchorCertificates"); Assert.That (trust.GetCustomAnchorCertificates ().Length, Is.EqualTo (certs.Count), "GetCustomAnchorCertificates");
#if __MACOS__ #if __MACOS__
if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 13)) { if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 15)) {
trust_result = SecTrustResult.RecoverableTrustFailure;
} else if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 13)) {
trust_result = SecTrustResult.Unspecified; trust_result = SecTrustResult.Unspecified;
} else if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 12)) { } else if (TestRuntime.CheckSystemVersion (PlatformName.MacOSX, 10, 12)) {
trust_result = SecTrustResult.Invalid; trust_result = SecTrustResult.Invalid;

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

@ -13,12 +13,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GuiUnit_NET_4_5", "..\exter
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dont link-mac", "linker\mac\dont link\dont link-mac.csproj", "{78831857-A261-8EE0-A5F6-33D2628DE5D0}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dont link-mac", "linker\mac\dont link\dont link-mac.csproj", "{78831857-A261-8EE0-A5F6-33D2628DE5D0}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "apitest-unifiedXM45", "apitest\apitest-unifiedXM45.csproj", "{EF5231F6-E06A-BC8A-9B5C-181E2AC5EBBC}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "apitest", "apitest\apitest.csproj", "{EF5231F6-E06A-BC8A-9B5C-181E2AC5EBBC}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "introspection-mac", "introspection\Mac\introspection-mac.csproj", "{E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "introspection-mac", "introspection\Mac\introspection-mac.csproj", "{E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dont link-mac-unifiedXM45", "linker\mac\dont link\dont link-mac-unifiedXM45.csproj", "{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "link all-mac", "linker\mac\link all\link all-mac.csproj", "{4C943B12-C5AF-4CD4-B583-B4011D13CAAB}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "link all-mac", "linker\mac\link all\link all-mac.csproj", "{4C943B12-C5AF-4CD4-B583-B4011D13CAAB}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "link sdk-mac", "linker\mac\link sdk\link sdk-mac.csproj", "{F5FF0F5E-0C30-4719-A2B1-5DAE33D1E579}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "link sdk-mac", "linker\mac\link sdk\link sdk-mac.csproj", "{F5FF0F5E-0C30-4719-A2B1-5DAE33D1E579}"
@ -131,18 +129,6 @@ Global
{E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}.Debug|x86.Build.0 = Debug|x86 {E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}.Debug|x86.Build.0 = Debug|x86
{E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}.Release|x86.ActiveCfg = Release|x86 {E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}.Release|x86.ActiveCfg = Release|x86
{E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}.Release|x86.Build.0 = Release|x86 {E0E84B58-C333-1BF3-D1EC-42EE3EA0D071}.Release|x86.Build.0 = Release|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Debug|Any CPU.ActiveCfg = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Debug|Any CPU.Build.0 = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Release|Any CPU.ActiveCfg = Release|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Release|Any CPU.Build.0 = Release|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Default|Any CPU.ActiveCfg = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Default|Any CPU.Build.0 = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.AppStore|Any CPU.ActiveCfg = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.AppStore|Any CPU.Build.0 = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Debug|x86.ActiveCfg = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Debug|x86.Build.0 = Debug|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Release|x86.ActiveCfg = Release|x86
{3E867194-BFE6-E5EC-F39F-63AF6A5304FF}.Release|x86.Build.0 = Release|x86
{4C943B12-C5AF-4CD4-B583-B4011D13CAAB}.Debug|Any CPU.ActiveCfg = Debug|x86 {4C943B12-C5AF-4CD4-B583-B4011D13CAAB}.Debug|Any CPU.ActiveCfg = Debug|x86
{4C943B12-C5AF-4CD4-B583-B4011D13CAAB}.Debug|Any CPU.Build.0 = Debug|x86 {4C943B12-C5AF-4CD4-B583-B4011D13CAAB}.Debug|Any CPU.Build.0 = Debug|x86
{4C943B12-C5AF-4CD4-B583-B4011D13CAAB}.Release|Any CPU.ActiveCfg = Debug|x86 {4C943B12-C5AF-4CD4-B583-B4011D13CAAB}.Release|Any CPU.ActiveCfg = Debug|x86

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

@ -3,16 +3,6 @@
!missing-field! MLFeatureValueImageOptionCropAndScale not bound !missing-field! MLFeatureValueImageOptionCropAndScale not bound
!missing-field! MLFeatureValueImageOptionCropRect not bound !missing-field! MLFeatureValueImageOptionCropRect not bound
!missing-protocol! MLWritable not bound !missing-protocol! MLWritable not bound
!missing-protocol-conformance! MLDictionaryConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLFeatureDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLImageConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSize should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSizeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLModelConfiguration should conform to NSSecureCoding
!missing-protocol-conformance! MLModelDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayShapeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLSequenceConstraint should conform to NSSecureCoding
!missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound

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

@ -41,7 +41,6 @@
!missing-field! NSInconsistentArchiveException not bound !missing-field! NSInconsistentArchiveException not bound
!missing-field! NSURLErrorNetworkUnavailableReasonKey not bound !missing-field! NSURLErrorNetworkUnavailableReasonKey not bound
!missing-protocol! NSURLSessionWebSocketDelegate not bound !missing-protocol! NSURLSessionWebSocketDelegate not bound
!missing-protocol-conformance! NSException should conform to NSSecureCoding
!missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting !missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting
!missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound !missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound
!missing-selector! +NSDate::now not bound !missing-selector! +NSDate::now not bound

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

@ -15,7 +15,6 @@
!missing-protocol-conformance! MPSCNNBatchNormalizationNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNBatchNormalizationNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSCNNConvolutionNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNConvolutionNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSCNNInstanceNormalizationNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNInstanceNormalizationNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSNNNeuronDescriptor should conform to NSSecureCoding
!missing-protocol-member! MPSCNNInstanceNormalizationDataSource::load not found !missing-protocol-member! MPSCNNInstanceNormalizationDataSource::load not found
!missing-protocol-member! MPSCNNInstanceNormalizationDataSource::purge not found !missing-protocol-member! MPSCNNInstanceNormalizationDataSource::purge not found
!missing-selector! +MPSCNNConvolutionTransposeGradientNode::nodeWithSourceGradient:sourceImage:convolutionTransposeGradientState:weights: not bound !missing-selector! +MPSCNNConvolutionTransposeGradientNode::nodeWithSourceGradient:sourceImage:convolutionTransposeGradientState:weights: not bound

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

@ -161,7 +161,6 @@
!missing-protocol! UITextFormattingCoordinatorDelegate not bound !missing-protocol! UITextFormattingCoordinatorDelegate not bound
!missing-protocol! UITextInteractionDelegate not bound !missing-protocol! UITextInteractionDelegate not bound
!missing-protocol! UIWindowSceneDelegate not bound !missing-protocol! UIWindowSceneDelegate not bound
!missing-protocol-conformance! NSLayoutManager should conform to NSSecureCoding
!missing-protocol-conformance! NSTextAttachment should conform to NSSecureCoding !missing-protocol-conformance! NSTextAttachment should conform to NSSecureCoding
!missing-protocol-conformance! NSTextContainer should conform to NSSecureCoding !missing-protocol-conformance! NSTextContainer should conform to NSSecureCoding
!missing-protocol-conformance! NSUserActivity should conform to NSItemProviderReading (defined in 'NSItemProvider' category) !missing-protocol-conformance! NSUserActivity should conform to NSItemProviderReading (defined in 'NSItemProvider' category)

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

@ -5,11 +5,7 @@
!missing-field! VNAnimalDetectorDog not bound !missing-field! VNAnimalDetectorDog not bound
!missing-pinvoke! VNElementTypeSize is not bound !missing-pinvoke! VNElementTypeSize is not bound
!missing-protocol! VNRequestProgressProviding not bound !missing-protocol! VNRequestProgressProviding not bound
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to NSCopying
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to NSSecureCoding
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to VNRequestRevisionProviding !missing-protocol-conformance! VNFaceLandmarkRegion should conform to VNRequestRevisionProviding
!missing-protocol-conformance! VNFaceLandmarks should conform to NSCopying
!missing-protocol-conformance! VNFaceLandmarks should conform to NSSecureCoding
!missing-protocol-conformance! VNFaceLandmarks should conform to VNRequestRevisionProviding !missing-protocol-conformance! VNFaceLandmarks should conform to VNRequestRevisionProviding
!missing-selector! +VNClassifyImageRequest::knownClassificationsForRevision:error: not bound !missing-selector! +VNClassifyImageRequest::knownClassificationsForRevision:error: not bound
!missing-selector! +VNDetectAnimalRectanglesRequest::knownAnimalDetectorsForRevision: not bound !missing-selector! +VNDetectAnimalRectanglesRequest::knownAnimalDetectorsForRevision: not bound

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

@ -38,11 +38,9 @@
!missing-protocol! NSCollectionLayoutVisibleItem not bound !missing-protocol! NSCollectionLayoutVisibleItem not bound
!missing-protocol! NSTextCheckingClient not bound !missing-protocol! NSTextCheckingClient not bound
!missing-protocol! NSTextInputTraits not bound !missing-protocol! NSTextInputTraits not bound
!missing-protocol-conformance! NSLayoutManager should conform to NSSecureCoding
!missing-protocol-conformance! NSTextAlternatives should conform to NSSecureCoding !missing-protocol-conformance! NSTextAlternatives should conform to NSSecureCoding
!missing-protocol-conformance! NSTextAttachment should conform to NSSecureCoding !missing-protocol-conformance! NSTextAttachment should conform to NSSecureCoding
!missing-protocol-conformance! NSTextBlock should conform to NSSecureCoding !missing-protocol-conformance! NSTextBlock should conform to NSSecureCoding
!missing-protocol-conformance! NSTextContainer should conform to NSSecureCoding
!missing-protocol-conformance! NSTextList should conform to NSSecureCoding !missing-protocol-conformance! NSTextList should conform to NSSecureCoding
!missing-selector! +NSBindingSelectionMarker::defaultPlaceholderForMarker:onClass:withBinding: not bound !missing-selector! +NSBindingSelectionMarker::defaultPlaceholderForMarker:onClass:withBinding: not bound
!missing-selector! +NSBindingSelectionMarker::setDefaultPlaceholder:forMarker:onClass:withBinding: not bound !missing-selector! +NSBindingSelectionMarker::setDefaultPlaceholder:forMarker:onClass:withBinding: not bound

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

@ -3,16 +3,6 @@
!missing-field! MLFeatureValueImageOptionCropAndScale not bound !missing-field! MLFeatureValueImageOptionCropAndScale not bound
!missing-field! MLFeatureValueImageOptionCropRect not bound !missing-field! MLFeatureValueImageOptionCropRect not bound
!missing-protocol! MLWritable not bound !missing-protocol! MLWritable not bound
!missing-protocol-conformance! MLDictionaryConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLFeatureDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLImageConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSize should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSizeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLModelConfiguration should conform to NSSecureCoding
!missing-protocol-conformance! MLModelDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayShapeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLSequenceConstraint should conform to NSSecureCoding
!missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound

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

@ -47,7 +47,6 @@
!missing-field! NSHTTPCookieSameSiteStrict not bound !missing-field! NSHTTPCookieSameSiteStrict not bound
!missing-field! NSURLErrorNetworkUnavailableReasonKey not bound !missing-field! NSURLErrorNetworkUnavailableReasonKey not bound
!missing-protocol! NSURLSessionWebSocketDelegate not bound !missing-protocol! NSURLSessionWebSocketDelegate not bound
!missing-protocol-conformance! NSException should conform to NSSecureCoding
!missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting !missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting
!missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound !missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound
!missing-selector! +NSDate::now not bound !missing-selector! +NSDate::now not bound

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

@ -15,7 +15,6 @@
!missing-protocol-conformance! MPSCNNBatchNormalizationNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNBatchNormalizationNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSCNNConvolutionNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNConvolutionNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSCNNInstanceNormalizationNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNInstanceNormalizationNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSNNNeuronDescriptor should conform to NSSecureCoding
!missing-protocol-member! MPSCNNInstanceNormalizationDataSource::load not found !missing-protocol-member! MPSCNNInstanceNormalizationDataSource::load not found
!missing-protocol-member! MPSCNNInstanceNormalizationDataSource::purge not found !missing-protocol-member! MPSCNNInstanceNormalizationDataSource::purge not found
!missing-selector! +MPSCNNConvolutionTransposeGradientNode::nodeWithSourceGradient:sourceImage:convolutionTransposeGradientState:weights: not bound !missing-selector! +MPSCNNConvolutionTransposeGradientNode::nodeWithSourceGradient:sourceImage:convolutionTransposeGradientState:weights: not bound

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

@ -8,8 +8,6 @@
!missing-field! PHLivePhotoInfoIsDegradedKey not bound !missing-field! PHLivePhotoInfoIsDegradedKey not bound
!missing-field! PHPhotosErrorDomain not bound !missing-field! PHPhotosErrorDomain not bound
!missing-protocol! PHPhotoLibraryAvailabilityObserver not bound !missing-protocol! PHPhotoLibraryAvailabilityObserver not bound
!missing-protocol-conformance! PHLivePhoto should conform to NSCopying
!missing-protocol-conformance! PHLivePhoto should conform to NSSecureCoding
!missing-selector! +PHAssetChangeRequest::changeRequestForAsset: not bound !missing-selector! +PHAssetChangeRequest::changeRequestForAsset: not bound
!missing-selector! +PHAssetChangeRequest::creationRequestForAssetFromImage: not bound !missing-selector! +PHAssetChangeRequest::creationRequestForAssetFromImage: not bound
!missing-selector! +PHAssetChangeRequest::creationRequestForAssetFromImageAtFileURL: not bound !missing-selector! +PHAssetChangeRequest::creationRequestForAssetFromImageAtFileURL: not bound

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

@ -1,6 +1,2 @@
!missing-protocol-conformance! SFSafariPage should conform to NSCopying
!missing-protocol-conformance! SFSafariTab should conform to NSCopying
!missing-protocol-conformance! SFSafariToolbarItem should conform to NSCopying
!missing-protocol-conformance! SFSafariWindow should conform to NSCopying
!missing-protocol-member! SFSafariExtensionHandling::contentBlockerWithIdentifier:blockedResourcesWithURLs:onPage: not found !missing-protocol-member! SFSafariExtensionHandling::contentBlockerWithIdentifier:blockedResourcesWithURLs:onPage: not found
!missing-protocol-member! SFSafariExtensionHandling::page:willNavigateToURL: not found !missing-protocol-member! SFSafariExtensionHandling::page:willNavigateToURL: not found

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

@ -5,11 +5,7 @@
!missing-field! VNAnimalDetectorDog not bound !missing-field! VNAnimalDetectorDog not bound
!missing-pinvoke! VNElementTypeSize is not bound !missing-pinvoke! VNElementTypeSize is not bound
!missing-protocol! VNRequestProgressProviding not bound !missing-protocol! VNRequestProgressProviding not bound
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to NSCopying
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to NSSecureCoding
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to VNRequestRevisionProviding !missing-protocol-conformance! VNFaceLandmarkRegion should conform to VNRequestRevisionProviding
!missing-protocol-conformance! VNFaceLandmarks should conform to NSCopying
!missing-protocol-conformance! VNFaceLandmarks should conform to NSSecureCoding
!missing-protocol-conformance! VNFaceLandmarks should conform to VNRequestRevisionProviding !missing-protocol-conformance! VNFaceLandmarks should conform to VNRequestRevisionProviding
!missing-selector! +VNClassifyImageRequest::knownClassificationsForRevision:error: not bound !missing-selector! +VNClassifyImageRequest::knownClassificationsForRevision:error: not bound
!missing-selector! +VNDetectAnimalRectanglesRequest::knownAnimalDetectorsForRevision: not bound !missing-selector! +VNDetectAnimalRectanglesRequest::knownAnimalDetectorsForRevision: not bound

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

@ -3,16 +3,6 @@
!missing-field! MLFeatureValueImageOptionCropAndScale not bound !missing-field! MLFeatureValueImageOptionCropAndScale not bound
!missing-field! MLFeatureValueImageOptionCropRect not bound !missing-field! MLFeatureValueImageOptionCropRect not bound
!missing-protocol! MLWritable not bound !missing-protocol! MLWritable not bound
!missing-protocol-conformance! MLDictionaryConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLFeatureDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLImageConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSize should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSizeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLModelConfiguration should conform to NSSecureCoding
!missing-protocol-conformance! MLModelDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayShapeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLSequenceConstraint should conform to NSSecureCoding
!missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound

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

@ -40,7 +40,6 @@
!missing-field! NSInconsistentArchiveException not bound !missing-field! NSInconsistentArchiveException not bound
!missing-field! NSURLErrorNetworkUnavailableReasonKey not bound !missing-field! NSURLErrorNetworkUnavailableReasonKey not bound
!missing-protocol! NSURLSessionWebSocketDelegate not bound !missing-protocol! NSURLSessionWebSocketDelegate not bound
!missing-protocol-conformance! NSException should conform to NSSecureCoding
!missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting !missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting
!missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound !missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound
!missing-selector! +NSDate::now not bound !missing-selector! +NSDate::now not bound

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

@ -15,7 +15,6 @@
!missing-protocol-conformance! MPSCNNBatchNormalizationNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNBatchNormalizationNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSCNNConvolutionNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNConvolutionNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSCNNInstanceNormalizationNode should conform to MPSNNTrainableNode !missing-protocol-conformance! MPSCNNInstanceNormalizationNode should conform to MPSNNTrainableNode
!missing-protocol-conformance! MPSNNNeuronDescriptor should conform to NSSecureCoding
!missing-protocol-member! MPSCNNInstanceNormalizationDataSource::load not found !missing-protocol-member! MPSCNNInstanceNormalizationDataSource::load not found
!missing-protocol-member! MPSCNNInstanceNormalizationDataSource::purge not found !missing-protocol-member! MPSCNNInstanceNormalizationDataSource::purge not found
!missing-selector! +MPSCNNConvolutionTransposeGradientNode::nodeWithSourceGradient:sourceImage:convolutionTransposeGradientState:weights: not bound !missing-selector! +MPSCNNConvolutionTransposeGradientNode::nodeWithSourceGradient:sourceImage:convolutionTransposeGradientState:weights: not bound

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

@ -115,7 +115,6 @@
!missing-protocol! UITextFormattingCoordinatorDelegate not bound !missing-protocol! UITextFormattingCoordinatorDelegate not bound
!missing-protocol! UITextInteractionDelegate not bound !missing-protocol! UITextInteractionDelegate not bound
!missing-protocol! UIWindowSceneDelegate not bound !missing-protocol! UIWindowSceneDelegate not bound
!missing-protocol-conformance! NSLayoutManager should conform to NSSecureCoding
!missing-protocol-conformance! NSTextAttachment should conform to NSSecureCoding !missing-protocol-conformance! NSTextAttachment should conform to NSSecureCoding
!missing-protocol-conformance! NSTextContainer should conform to NSSecureCoding !missing-protocol-conformance! NSTextContainer should conform to NSSecureCoding
!missing-protocol-member! UIAdaptivePresentationControllerDelegate::presentationControllerDidAttemptToDismiss: not found !missing-protocol-member! UIAdaptivePresentationControllerDelegate::presentationControllerDidAttemptToDismiss: not found

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

@ -5,11 +5,7 @@
!missing-field! VNAnimalDetectorDog not bound !missing-field! VNAnimalDetectorDog not bound
!missing-pinvoke! VNElementTypeSize is not bound !missing-pinvoke! VNElementTypeSize is not bound
!missing-protocol! VNRequestProgressProviding not bound !missing-protocol! VNRequestProgressProviding not bound
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to NSCopying
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to NSSecureCoding
!missing-protocol-conformance! VNFaceLandmarkRegion should conform to VNRequestRevisionProviding !missing-protocol-conformance! VNFaceLandmarkRegion should conform to VNRequestRevisionProviding
!missing-protocol-conformance! VNFaceLandmarks should conform to NSCopying
!missing-protocol-conformance! VNFaceLandmarks should conform to NSSecureCoding
!missing-protocol-conformance! VNFaceLandmarks should conform to VNRequestRevisionProviding !missing-protocol-conformance! VNFaceLandmarks should conform to VNRequestRevisionProviding
!missing-selector! +VNClassifyImageRequest::knownClassificationsForRevision:error: not bound !missing-selector! +VNClassifyImageRequest::knownClassificationsForRevision:error: not bound
!missing-selector! +VNDetectAnimalRectanglesRequest::knownAnimalDetectorsForRevision: not bound !missing-selector! +VNDetectAnimalRectanglesRequest::knownAnimalDetectorsForRevision: not bound

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

@ -3,16 +3,6 @@
!missing-field! MLFeatureValueImageOptionCropAndScale not bound !missing-field! MLFeatureValueImageOptionCropAndScale not bound
!missing-field! MLFeatureValueImageOptionCropRect not bound !missing-field! MLFeatureValueImageOptionCropRect not bound
!missing-protocol! MLWritable not bound !missing-protocol! MLWritable not bound
!missing-protocol-conformance! MLDictionaryConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLFeatureDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLImageConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSize should conform to NSSecureCoding
!missing-protocol-conformance! MLImageSizeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLModelConfiguration should conform to NSSecureCoding
!missing-protocol-conformance! MLModelDescription should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLMultiArrayShapeConstraint should conform to NSSecureCoding
!missing-protocol-conformance! MLSequenceConstraint should conform to NSSecureCoding
!missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:constraint:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error: not bound
!missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound !missing-selector! +MLFeatureValue::featureValueWithImageAtURL:constraint:options:error: not bound

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

@ -40,7 +40,6 @@
!missing-field! NSInconsistentArchiveException not bound !missing-field! NSInconsistentArchiveException not bound
!missing-field! NSURLErrorNetworkUnavailableReasonKey not bound !missing-field! NSURLErrorNetworkUnavailableReasonKey not bound
!missing-protocol! NSURLSessionWebSocketDelegate not bound !missing-protocol! NSURLSessionWebSocketDelegate not bound
!missing-protocol-conformance! NSException should conform to NSSecureCoding
!missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting !missing-protocol-conformance! NSOperationQueue should conform to NSProgressReporting
!missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound !missing-selector! +NSByteCountFormatter::stringFromMeasurement:countStyle: not bound
!missing-selector! +NSDate::now not bound !missing-selector! +NSDate::now not bound