title: Firebase App Check iOS - Cannot find type 'AppCheckProviderFactory' in scope
body: <ul>
  <li>Xcode version: 12.5.1</li>
  <li>Firebase SDK version: 8.5.0</li>
  <li>Installation method: Swift Package Manager</li>
  <li>Firebase Component: App Check</li>
  </ul>
  <p>I'm getting error using the sample code in app delegate (Step 3 here: <a href="https://firebase.google.com/docs/app-check/ios/app-attest-provider?authuser=0" rel="nofollow noreferrer">Setup Firebase App Check on iOS</a>):</p>
  <blockquote>
  <p>&quot;Cannot find type 'AppCheckProviderFactory' in scope&quot;</p>
  </blockquote>
  <p>First, I tried importing FirebaseAppCheck, but that wasn't recognized. I can import Firebase fine (and I'm using that in my app already), but that doesn't seem get me hooked into App Check. When I look in the downloaded Firebase package, I see FirebaseAppCheck.</p>
  <p>I reset my package cache and cleaned the build folder, neither of which resolved the issue. Is App Check intended to work with SPM, or should I be importing the framework manually? Or, (probably more likely), am I missing something obvious here?</p>
  <p>Following code returns two errors: Cannot find type 'AppCheckProviderFactory' in scope &amp; Cannot find type 'AppCheckProvider' in scope.</p>
  <pre><code>import Firebase
  
  class SimpleAppCheckProviderFactory: NSObject, AppCheckProviderFactory {
    func createProvider(with app: FirebaseApp) -&gt; AppCheckProvider? {
      return AppAttestProvider(app: app)
    }
  }
  </code></pre>
  <p>If anyone can point in the right direction, I'd greatly appreciate it.</p>