Skip to content

Commit

Permalink
[release/6.0.4xx] [introspection] Fix failures on older iOS/tvOS (#15095
Browse files Browse the repository at this point in the history
)

- Fixes #14905 by skipping with a link to #14802


Backport of #14911

Co-authored-by: Chris Hamons <[email protected]>
  • Loading branch information
1 parent 8fee76d commit 2603fc6
Showing 1 changed file with 38 additions and 0 deletions.
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

2 comments on commit 2603fc6

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.