It looks like the GoogleCast SDK for iOS (at least version 3.3.0 we shipped the previous version with; maybe this has been fixed in a more recent version we've upgraded to since, but I'd like to be sure) is sometimes sending nils to a delegate when reporting errors, even though the annotation claims it's nonnull. This, in turn, makes our Swift code crash when we try to look at the error.
Is there any way to override the nullability annotation in the header, assuming I don't want to touch the upstream header? If I just define my delegate method to receive an Error?
, I get a warning.