Semantic issue for AuthChallengeDisposition enum in Swift-generated bridging header

47 Views Asked by At

I'm adding URLSessionDelegate protocol conformance to one of my Swift classes (called SearchViewController), and I'm implementing urlSession(_:task:didReceive:completionHandler:). The signature of this method includes the type URLSession.AuthChallengeDisposition. When I build the project, it appears that this type causes issues in the automatically generated Swift-Objective C header:

The compile error.

It seems unlikely that the Swift team messed up the bridging behavior since I haven't been able to turn up anything through searching (and other people are presumably implementing and bridging this delegate method), but I don't know what else could be going on. I know next to nothing about these bridging headers, so I'm pretty lost here.

0

There are 0 best solutions below