title: Swift macOS Firebase
body: <p>I have an IOS app with Firebase enabled.<br>
  Now im currently trying to add a macOS swift app to this project but i cant figure it out how to do it.<br>
  ( I know that there is an option to port IOS apps to macOS, but i want <strong>two separate apps with different functions</strong>, one for IOS and one for macOS )<br></p>
  <p>There is no option (as far as i know) in Firebase Admin to add a macOS app so i created a new IOS app in Firebase Admin and tried to set up with the macOS app project. (most likely this is the problem with my whole question)</p>
  <p>I get these errors in my AppDelegate when i run my macOS project:</p>
  <blockquote>
  <p>The default Firebase app has not yet been configured. Add <code>[FIRApp configure];</code> (<code>FirebaseApp.configure()</code> in Swift) to your application initialization.</p>
  <p>An uncaught exception was raised</p>
  <p>Failed to get FirebaseApp instance. Please call FirebaseApp.configure() before using Firestore</p>
  <p>Terminating app due to uncaught exception 'FIRIllegalStateException', reason: 'Failed to get FirebaseApp instance. Please call FirebaseApp.configure() before using Firestore'</p>
  </blockquote>
  <p>Althougth i've used <code>FirebaseApp.configure()</code> in my <code>applicationDidFinishLaunching</code>.
  <br>Also i imported every single pod but nothing helped me.</p>
  <pre><code>pod 'Firebase'
  pod 'Firebase/Core'
  pod 'Firebase/Analytics'
  pod 'Firebase/Auth'
  pod 'FirebaseDatabase'
  pod 'Firebase/ABTesting'
  pod 'Firebase/Database'
  pod 'Firebase/Firestore'
  pod 'FirebaseFirestore'
  pod 'Firebase/Functions'
  pod 'Firebase/Messaging'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/Storage'
  </code></pre>
  <p>My question is that what could i possibly did wrong?<br>
  Or Firebase does not support macOS apps?<br>
  If yes then how can i use my existing Firebase IOS project with a new macOS Swift app?</p>