Код: Выделить всё
/Users//Desktop/projects/app/ios/Pods/Firebase/CoreOnly/Source
s/module.modulemap:1:8: error: redefinition of module 'Firebase'
module Firebase {
^
/Users//Library/Developer/Xcode/DerivedData/Runner-dbkgurnsasbvieahfnk
dontejqss/SourcePackages/checkouts/firebase-ios-sdk/CoreOnly/Sources/module.
modulemap:1:8: note: previously defined here
module Firebase {
Код: Выделить всё
import UIKit
import Flutter
import Firebase
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
FirebaseApp.configure()
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
Код: Выделить всё
flutter clean- и установка модуля
Код: Выделить всё
pod deintegrate - Очистка DerivedData (как через XCode, так и вручную)
- Удаление и повторное добавление firebase-ios-sdk
Подробнее здесь: https://stackoverflow.com/questions/707 ... e-firebase
Мобильная версия