title: Use of undeclared type 'MFMailComposeViewControllerDelegate'
body: <p>I am trying to send an update to an application built in Xcode 7, Swift 2.3. The application builds and runs fine with no issues, however, when I attempt to Archive I receive "Use of undeclared type 'MFMailComposeViewControllerDelegate'".</p>
  
  <p>I figured it was just my old project giving me grief so I created a new project which had one class:</p>
  
  <pre><code>import UIKit
  import MessageUI
  
  class ViewController: UIViewController, MFMailComposeViewControllerDelegate {}
  </code></pre>
  
  <p>Again, it works when building and gives me <strong>the same error</strong> when archiving. I am currently using Xcode 8.0, any ideas??</p>