Xamarin-macios: Static Registrar warnings when building VSMac bundle

Created on 13 Jun 2018  路  10Comments  路  Source: xamarin/xamarin-macios

We have a VSTS CI build that builds VSMac. As part of the build, we generate static registrars for our assemblies.

We noticed that we see these warnings during the build. We're not sure if these are OK or not.
https://gist.github.com/KirillOsenkov/bfee0d662340fa310f2d586ec9152f50

2018-06-13T18:34:30.4267130Z File './static-registrar.m' does not exist, creating it.
2018-06-13T18:34:30.4372030Z File './static-registrar.h' does not exist, creating it.
2018-06-13T18:34:30.4481770Z xcrun -sdk macosx clang -x objective-c++ -g -c -Wall -mmacosx-version-min=10.10 -m64 -I/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/include -fobjc-runtime=macosx -o static-registrar.o static-registrar.m
2018-06-13T18:34:30.4590770Z static-registrar.m:4559:8: warning: 'MKClusterAnnotation' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.4653180Z static MKClusterAnnotation * native_to_managed_trampoline_84 (id self, SEL _cmd, MonoMethod **managed_method_ptr, MKMapView * p0, NSArray * p1, uint32_t token_ref)
2018-06-13T18:34:30.4671540Z        ^
2018-06-13T18:34:30.4735840Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKClusterAnnotation.h:13:12: note: 'MKClusterAnnotation' has been explicitly marked partial here
2018-06-13T18:34:30.4800710Z @interface MKClusterAnnotation : NSObject <MKAnnotation>
2018-06-13T18:34:30.4819150Z            ^
2018-06-13T18:34:30.4880590Z static-registrar.m:4559:30: note: annotate 'native_to_managed_trampoline_84' with an availability attribute to silence this warning
2018-06-13T18:34:30.4943510Z static MKClusterAnnotation * native_to_managed_trampoline_84 (id self, SEL _cmd, MonoMethod **managed_method_ptr, MKMapView * p0, NSArray * p1, uint32_t token_ref)
2018-06-13T18:34:30.4962380Z                              ^
2018-06-13T18:34:30.5023910Z static-registrar.m:4567:2: warning: 'MKClusterAnnotation' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.5085450Z         MKClusterAnnotation * res = {0};
2018-06-13T18:34:30.5103160Z         ^~~~~~~~~~~~~~~~~~~
2018-06-13T18:34:30.5169460Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKClusterAnnotation.h:13:12: note: 'MKClusterAnnotation' has been explicitly marked partial here
2018-06-13T18:34:30.5236190Z @interface MKClusterAnnotation : NSObject <MKAnnotation>
2018-06-13T18:34:30.5254300Z            ^
2018-06-13T18:34:30.5315950Z static-registrar.m:4567:2: note: enclose 'MKClusterAnnotation' in an @available check to silence this warning
2018-06-13T18:34:30.5376570Z         MKClusterAnnotation * res = {0};
2018-06-13T18:34:30.5395180Z         ^~~~~~~~~~~~~~~~~~~
2018-06-13T18:34:30.5457560Z static-registrar.m:7707:118: warning: 'CBL2CAPChannel' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.5520190Z static void native_to_managed_trampoline_142 (id self, SEL _cmd, MonoMethod **managed_method_ptr, CBPeripheral * p0, CBL2CAPChannel * p1, NSError * p2, uint32_t token_ref)
2018-06-13T18:34:30.5539250Z                                                                                                                      ^
2018-06-13T18:34:30.5604090Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h:21:28: note: 'CBL2CAPChannel' has been explicitly marked partial here
2018-06-13T18:34:30.5668370Z CB_EXTERN_CLASS @interface CBL2CAPChannel : NSObject
2018-06-13T18:34:30.5686200Z                            ^
2018-06-13T18:34:30.5749670Z static-registrar.m:7707:13: note: annotate 'native_to_managed_trampoline_142' with an availability attribute to silence this warning
2018-06-13T18:34:30.5812490Z static void native_to_managed_trampoline_142 (id self, SEL _cmd, MonoMethod **managed_method_ptr, CBPeripheral * p0, CBL2CAPChannel * p1, NSError * p2, uint32_t token_ref)
2018-06-13T18:34:30.5831340Z             ^
2018-06-13T18:34:30.5892510Z static-registrar.m:8313:125: warning: 'CBL2CAPChannel' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.5957070Z static void native_to_managed_trampoline_152 (id self, SEL _cmd, MonoMethod **managed_method_ptr, CBPeripheralManager * p0, CBL2CAPChannel * p1, NSError * p2, uint32_t token_ref)
2018-06-13T18:34:30.5975930Z                                                                                                                             ^
2018-06-13T18:34:30.6041680Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h:21:28: note: 'CBL2CAPChannel' has been explicitly marked partial here
2018-06-13T18:34:30.6108290Z CB_EXTERN_CLASS @interface CBL2CAPChannel : NSObject
2018-06-13T18:34:30.6128360Z                            ^
2018-06-13T18:34:30.6195520Z static-registrar.m:8313:13: note: annotate 'native_to_managed_trampoline_152' with an availability attribute to silence this warning
2018-06-13T18:34:30.6263050Z static void native_to_managed_trampoline_152 (id self, SEL _cmd, MonoMethod **managed_method_ptr, CBPeripheralManager * p0, CBL2CAPChannel * p1, NSError * p2, uint32_t token_ref)
2018-06-13T18:34:30.6283140Z             ^
2018-06-13T18:34:30.6348900Z static-registrar.m:41399:4: warning: 'MKClusterAnnotation' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.6460840Z         -(MKClusterAnnotation *) mapView:(MKMapView *)p0 clusterAnnotationForMemberAnnotations:(NSArray *)p1;
2018-06-13T18:34:30.6525070Z           ^
2018-06-13T18:34:30.6589570Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKClusterAnnotation.h:13:12: note: 'MKClusterAnnotation' has been explicitly marked partial here
2018-06-13T18:34:30.6653190Z @interface MKClusterAnnotation : NSObject <MKAnnotation>
2018-06-13T18:34:30.6671320Z            ^
2018-06-13T18:34:30.6737280Z static-registrar.m:41399:2: note: annotate 'mapView:clusterAnnotationForMemberAnnotations:' with an availability attribute to silence this warning
2018-06-13T18:34:30.6849990Z         -(MKClusterAnnotation *) mapView:(MKMapView *)p0 clusterAnnotationForMemberAnnotations:(NSArray *)p1;
2018-06-13T18:34:30.6914320Z         ^
2018-06-13T18:34:30.6934050Z                                                                                                              API_AVAILABLE(macos(10_13))
2018-06-13T18:34:30.7001740Z static-registrar.m:41452:4: warning: 'MKClusterAnnotation' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.7114210Z         -(MKClusterAnnotation *) mapView:(MKMapView *)p0 clusterAnnotationForMemberAnnotations:(NSArray *)p1
2018-06-13T18:34:30.7175760Z           ^
2018-06-13T18:34:30.7240630Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKClusterAnnotation.h:13:12: note: 'MKClusterAnnotation' has been explicitly marked partial here
2018-06-13T18:34:30.7305710Z @interface MKClusterAnnotation : NSObject <MKAnnotation>
2018-06-13T18:34:30.7323980Z            ^
2018-06-13T18:34:30.7387390Z static-registrar.m:41452:2: note: annotate 'mapView:clusterAnnotationForMemberAnnotations:' with an availability attribute to silence this warning
2018-06-13T18:34:30.7494170Z         -(MKClusterAnnotation *) mapView:(MKMapView *)p0 clusterAnnotationForMemberAnnotations:(NSArray *)p1
2018-06-13T18:34:30.7556570Z         ^
2018-06-13T18:34:30.7619920Z static-registrar.m:41658:17: warning: method 'deviceBrowserView:selectionDidChange:' in protocol 'IKDeviceBrowserViewDelegate' not implemented [-Wprotocol]
2018-06-13T18:34:30.7687260Z @implementation ImageKit_IKDeviceBrowserView__IKDeviceBrowserViewDelegate {
2018-06-13T18:34:30.7706560Z                 ^
2018-06-13T18:34:30.7775320Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/ImageKit.framework/Headers/IKDeviceBrowserView.h:29:1: note: method 'deviceBrowserView:selectionDidChange:' declared here
2018-06-13T18:34:30.7892200Z - (void)deviceBrowserView: (IKDeviceBrowserView *)deviceBrowserView selectionDidChange: (ICDevice *)device;
2018-06-13T18:34:30.7960210Z ^
2018-06-13T18:34:30.8029060Z static-registrar.m:42752:61: warning: 'CBL2CAPChannel' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.8143930Z         -(void) peripheral:(CBPeripheral *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2;
2018-06-13T18:34:30.8212380Z                                                                    ^
2018-06-13T18:34:30.8282710Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h:21:28: note: 'CBL2CAPChannel' has been explicitly marked partial here
2018-06-13T18:34:30.8352650Z CB_EXTERN_CLASS @interface CBL2CAPChannel : NSObject
2018-06-13T18:34:30.8373250Z                            ^
2018-06-13T18:34:30.8445430Z static-registrar.m:42752:2: note: annotate 'peripheral:didOpenL2CAPChannel:error:' with an availability attribute to silence this warning
2018-06-13T18:34:30.8563540Z         -(void) peripheral:(CBPeripheral *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2;
2018-06-13T18:34:30.8631980Z         ^
2018-06-13T18:34:30.8652500Z                                                                                                            API_AVAILABLE(macos(10_13))
2018-06-13T18:34:30.8722250Z static-registrar.m:42797:61: warning: 'CBL2CAPChannel' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.8839540Z         -(void) peripheral:(CBPeripheral *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2
2018-06-13T18:34:30.8908260Z                                                                    ^
2018-06-13T18:34:30.8979330Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h:21:28: note: 'CBL2CAPChannel' has been explicitly marked partial here
2018-06-13T18:34:30.9050730Z CB_EXTERN_CLASS @interface CBL2CAPChannel : NSObject
2018-06-13T18:34:30.9070840Z                            ^
2018-06-13T18:34:30.9139890Z static-registrar.m:42797:2: note: annotate 'peripheral:didOpenL2CAPChannel:error:' with an availability attribute to silence this warning
2018-06-13T18:34:30.9257510Z         -(void) peripheral:(CBPeripheral *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2
2018-06-13T18:34:30.9326850Z         ^
2018-06-13T18:34:30.9395210Z static-registrar.m:42921:75: warning: 'CBL2CAPChannel' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:30.9512140Z         -(void) peripheralManager:(CBPeripheralManager *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2;
2018-06-13T18:34:30.9581240Z                                                                                  ^
2018-06-13T18:34:30.9652040Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h:21:28: note: 'CBL2CAPChannel' has been explicitly marked partial here
2018-06-13T18:34:30.9722310Z CB_EXTERN_CLASS @interface CBL2CAPChannel : NSObject
2018-06-13T18:34:30.9742260Z                            ^
2018-06-13T18:34:30.9810780Z static-registrar.m:42921:2: note: annotate 'peripheralManager:didOpenL2CAPChannel:error:' with an availability attribute to silence this warning
2018-06-13T18:34:30.9927970Z         -(void) peripheralManager:(CBPeripheralManager *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2;
2018-06-13T18:34:30.9996830Z         ^
2018-06-13T18:34:31.0017570Z                                                                                                                          API_AVAILABLE(macos(10_13))
2018-06-13T18:34:31.0086420Z static-registrar.m:42977:75: warning: 'CBL2CAPChannel' is only available on macOS 10_13 or newer [-Wunguarded-availability-new]
2018-06-13T18:34:31.0202470Z         -(void) peripheralManager:(CBPeripheralManager *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2
2018-06-13T18:34:31.0272390Z                                                                                  ^
2018-06-13T18:34:31.0343160Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h:21:28: note: 'CBL2CAPChannel' has been explicitly marked partial here
2018-06-13T18:34:31.0412770Z CB_EXTERN_CLASS @interface CBL2CAPChannel : NSObject
2018-06-13T18:34:31.0432570Z                            ^
2018-06-13T18:34:31.0499570Z static-registrar.m:42977:2: note: annotate 'peripheralManager:didOpenL2CAPChannel:error:' with an availability attribute to silence this warning
2018-06-13T18:34:31.0607020Z         -(void) peripheralManager:(CBPeripheralManager *)p0 didOpenL2CAPChannel:(CBL2CAPChannel *)p1 error:(NSError *)p2
2018-06-13T18:34:31.0669890Z         ^
2018-06-13T18:34:31.0731380Z static-registrar.m:49648:2: warning: method possibly missing a [super updateConstraints] call [-Wobjc-missing-super-calls]
2018-06-13T18:34:31.0793920Z         }
2018-06-13T18:34:31.0812230Z         ^
2018-06-13T18:34:31.0874500Z static-registrar.m:53445:17: warning: method 'accessibilityLabel' in protocol 'NSAccessibilityTable' not implemented [-Wprotocol]
2018-06-13T18:34:31.0939770Z @implementation Xamarin_Ide_Publishing_ChannelSelectionPageControlMac {
2018-06-13T18:34:31.0958380Z                 ^
2018-06-13T18:34:31.1024740Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:140:1: note: method 'accessibilityLabel' declared here
2018-06-13T18:34:31.1133290Z - (nullable NSString *)accessibilityLabel;
2018-06-13T18:34:31.1195880Z ^
2018-06-13T18:34:31.1258810Z static-registrar.m:53506:17: warning: method 'accessibilityLabel' in protocol 'NSAccessibilityButton' not implemented [-Wprotocol]
2018-06-13T18:34:31.1323840Z @implementation Xamarin_Ide_Publishing_ChannelSelectionPageControlMac_ChannelSelectionEntry {
2018-06-13T18:34:31.1342180Z                 ^
2018-06-13T18:34:31.1408240Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:36:1: note: method 'accessibilityLabel' declared here
2018-06-13T18:34:31.1517000Z - (nullable NSString *)accessibilityLabel;
2018-06-13T18:34:31.1579700Z ^
2018-06-13T18:34:31.1641600Z static-registrar.m:53506:17: warning: method 'accessibilityIndex' in protocol 'NSAccessibilityRow' not implemented [-Wprotocol]
2018-06-13T18:34:31.1704620Z @implementation Xamarin_Ide_Publishing_ChannelSelectionPageControlMac_ChannelSelectionEntry {
2018-06-13T18:34:31.1722810Z                 ^
2018-06-13T18:34:31.1787150Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:179:1: note: method 'accessibilityIndex' declared here
2018-06-13T18:34:31.1892650Z - (NSInteger)accessibilityIndex;
2018-06-13T18:34:31.1953890Z ^
2018-06-13T18:34:31.2016960Z static-registrar.m:56264:17: warning: method 'accessibilityLabel' in protocol 'NSAccessibilityButton' not implemented [-Wprotocol]
2018-06-13T18:34:31.2079910Z @implementation MonoDevelop_Components_AtkCocoaHelper_RealAccessibilityElementButtonProxy {
2018-06-13T18:34:31.2098520Z                 ^
2018-06-13T18:34:31.2162120Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:36:1: note: method 'accessibilityLabel' declared here
2018-06-13T18:34:31.2267910Z - (nullable NSString *)accessibilityLabel;
2018-06-13T18:34:31.2329850Z ^
2018-06-13T18:34:31.2392160Z static-registrar.m:56264:17: warning: method 'accessibilityFrame' in protocol 'NSAccessibilityElement' not implemented [-Wprotocol]
2018-06-13T18:34:31.2455790Z @implementation MonoDevelop_Components_AtkCocoaHelper_RealAccessibilityElementButtonProxy {
2018-06-13T18:34:31.2474280Z                 ^
2018-06-13T18:34:31.2539060Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:19:1: note: method 'accessibilityFrame' declared here
2018-06-13T18:34:31.2649210Z - (NSRect)accessibilityFrame;
2018-06-13T18:34:31.2712730Z ^
2018-06-13T18:34:31.2776840Z static-registrar.m:56264:17: warning: method 'accessibilityParent' in protocol 'NSAccessibilityElement' not implemented [-Wprotocol]
2018-06-13T18:34:31.2841910Z @implementation MonoDevelop_Components_AtkCocoaHelper_RealAccessibilityElementButtonProxy {
2018-06-13T18:34:31.2860710Z                 ^
2018-06-13T18:34:31.2928470Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:20:1: note: method 'accessibilityParent' declared here
2018-06-13T18:34:31.3038110Z - (nullable id)accessibilityParent;
2018-06-13T18:34:31.3101720Z ^
2018-06-13T18:34:31.3169900Z static-registrar.m:56302:17: warning: method 'accessibilityFrame' in protocol 'NSAccessibilityElement' not implemented [-Wprotocol]
2018-06-13T18:34:31.3239190Z @implementation MonoDevelop_Components_AtkCocoaHelper_RealAccessibilityElementNavigableStaticTextProxy {
2018-06-13T18:34:31.3259240Z                 ^
2018-06-13T18:34:31.3328860Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:19:1: note: method 'accessibilityFrame' declared here
2018-06-13T18:34:31.3445080Z - (NSRect)accessibilityFrame;
2018-06-13T18:34:31.3511260Z ^
2018-06-13T18:34:31.3576600Z static-registrar.m:56302:17: warning: method 'accessibilityParent' in protocol 'NSAccessibilityElement' not implemented [-Wprotocol]
2018-06-13T18:34:31.3645950Z @implementation MonoDevelop_Components_AtkCocoaHelper_RealAccessibilityElementNavigableStaticTextProxy {
2018-06-13T18:34:31.3665920Z                 ^
2018-06-13T18:34:31.3735840Z /Applications/Xcode_9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h:20:1: note: method 'accessibilityParent' declared here
2018-06-13T18:34:31.3851300Z - (nullable id)accessibilityParent;
2018-06-13T18:34:31.3917520Z ^
2018-06-13T18:34:32.7907850Z 20 warnings generated.
enhancement macOS need-info

Most helpful comment

@spouliot I've created issue #4255 to fix the availability warnings from clang.

All 10 comments

Which version of macOS is used on the VSTS bot ?

I'm surprised to see warning: 'MKClusterAnnotation' is only available on macOS 10_13 as the path suggest Xcode 9.4 which only runs on 10.13

Also most of the warnings generally go away when linking is enabled - but I know it can't be used in your case (even if it's hard to see how MapKit and Bluetooth would be of much help for extensions).

OSX 10.13.5

Most of them are recent (Xcode9) clang compiler enhancement that reports calls to API newer that the target OS (10.10 above). Those are unused and generally removed by the linker.

@rolfbjarne how hard would it be to wrap such cases inside a block like this ? I guess it would slow down builds to check the availability attributes :|

if (@available(macOS 10.13)) {
}

The last items are about accessibility. I'll let @chamons double check the accessibility bindings but some times (1 is too many) Apple _promoted_ optionals to required (and we can't do it without breaking changes). In such case the warnings are _normal_

@spouliot I've created issue #4255 to fix the availability warnings from clang.

Hmm, I looked into this and all the way back to 8.3 /Applications/Xcode83.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAccessibilityProtocols.h I see

@protocol NSAccessibilityTable <NSAccessibilityGroup>
@required
- (nullable NSString *)accessibilityLabel;

// An array of accessibility row elements
- (nullable NSArray<id<NSAccessibilityRow>> *)accessibilityRows;

@optional
@protocol NSAccessibilityButton <NSAccessibilityElement>
@required
- (nullable NSString *)accessibilityLabel;
- (BOOL)accessibilityPerformPress;
@end

@KirillOsenkov can you update us if you're still seeing (and how many) warnings ? most of them should be _silenced_ now. Thanks

Honestly I haven't seen this recently and/or haven't been paying attention. Thanks!

ok, I'll close it but if you see weird stuff again don't hesitate to open a new issue :)

Will open another bug when we move to a newer xammac version and if we see these errors again. We're currently on 4.4.1.178

Was this page helpful?
0 / 5 - 0 ratings