@mar-gitacount (mar mar)

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

No such module 'Firebase'

Q&A

Closed

解決したいこと

Firebaseを使って、iosアプリを作成しているのですが、インポート出来なくて困っています。

発生している問題・エラー

No such module 'Firebase'

スクリーンショット 2022-10-09 2.05.32.png

念の為ソースコードも記載しておきます。

import SwiftUI
import Firebase
import FirebaseFirestore
import FirebaseAuth

class AppDelegate: NSObject, UIApplicationDelegate {

  func application(_ application: UIApplication,

                   didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {

    FirebaseApp.configure()

    return true

  }

}

@main
struct testprojectApp: App {
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}

自分で試したこと

xcode及び端末の再起動。
Product > CleanBuildForder

1 likes

2Answer

This answer has been deleted for violation of our Terms of Service.

This answer has been deleted for violation of our Terms of Service.

Your answer might help someone💌