Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/6.0.4xx] [introspection] Fix failures on older iOS/tvOS #15095

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions tests/introspection/ApiSelectorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,44 @@ protected virtual bool Skip (Type type, string selectorName)
}
#endif
break;
#if NET
// Incorrect attributes in inlined protocol selectors - https://github.com/xamarin/xamarin-macios/issues/14802
case "NSTextAttachment":
switch (selectorName) {
case "attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:":
case "imageForBounds:attributes:location:textContainer:":
case "viewProviderForParentView:location:textContainer:":
return true;
}
break;
// Incorrect attributes in get/set selectors - https://github.com/xamarin/xamarin-macios/issues/14802
case "CBManager":
switch (selectorName) {
case "authorization":
case "authorizations":
return true;
}
break;
case "NEAppProxyFlow":
switch (selectorName) {
case "networkInterface":
case "setNetworkInterface:":
return true;
}
break;
case "WKPreferences":
switch (selectorName) {
case "setTextInteractionEnabled:":
return true;
}
break;
case "MidiCISession":
switch (selectorName) {
case "midiDestination":
return true;
}
break;
#endif
}

// old binding mistake
Expand Down