I want to use Firebase with Swift 5, but error message appears.
Could not build Objective-C module 'Firebase'
I tried all resolutions on below pages, but I can't solve it:
Error: Could not build Objective-C module 'Firebase'
https://github.com/firebase/quickstart-ios/issues/672
import UIKit
import Firebase
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
return true
}
}
I expect Build Success, but actually Build Failed.
Build error messages are:
'FirebaseCore/FirebaseCore.h' file not found Could not build Objective-C module 'Firebase'
And, xcode shows Error message at
import Firebase
in AppDelegate.swift
My business partner solves this issue.
The resolution is below steps: