title: Cannot convert value of type "AProtocol".Protocol to expected argument type Protocol
body: <p>I'm trying to build a protocol for a NSXPCInterface and I'm facing a weird issue.</p>
  
  <p>I created a protocol :</p>
  
  <pre><code>public protocol AProtocol {
  
      //functions in here
  
  }
  </code></pre>
  
  <p>and when I want to add it to the exportedInterface of NSXPCConnection,</p>
  
  <pre><code>let newConnection: NSXPCConnection
  newConnection.exportedInterface = NSXPCInterface(with: AProtocol.self)
  </code></pre>
  
  <p>I get this strange error :</p>
  
  <pre><code>Cannot convert value of type 'AProtocol.Protocol' to expected argument type 'Protocol'
  </code></pre>