Skip to content

[firebase_core] iOS does not compile when I add the dependency #2306

@longol

Description

@longol

Describe the bug
As soon as I add the firebase_core: ^0.4.4+3 dependency on the default flutter project, I am no longer able to compile for iOS. Android works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Add firebase_core: ^0.4.4+3 to pubspec.yaml
  2. Try to run
  3. See error

Expected behavior
App to run on iOS

Additional context
flutter doctor -v

llongo@llongo-mn2 sendo_magro % flutter doctor -v
[✓] Flutter (Channel master, v1.18.1-pre.1, on Mac OS X 10.15.4 19E266, locale en-US)
• Flutter version 1.18.1-pre.1 at /Users/llongo/Documents/flutter
• Framework revision a2e6c30b44 (2 days ago), 2020-04-03 20:26:01 -0700
• Engine revision 09bc1fc45e
• Dart version 2.8.0 (build 2.8.0-dev.20.0 e736495eb7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/llongo/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4, Build version 11E146
• CocoaPods version 1.9.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.43.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.0

[✓] Connected device (5 available)
• Lucas Longo’s iPhone • 00008030-001D650C2E0A802E • ios • iOS 13.3.1
• iPhone 11 Pro Max • 454EFC8B-C39C-40E0-AF7E-C4543A69C096 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
• macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E266
• Chrome • chrome • web-javascript • Google Chrome 80.0.3987.163
• Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

Terminal output
flutter run -v -d 'iPhone 11 Pro Max'

see attached file output
futterRun.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions