Skip to content

🐛 [firebase_auth 4.7.2] Build fails with 'messages.g.h' file not found #11409

@mdddj

Description

@mdddj
Could not build the precompiled application for the device.
Lexical or Preprocessor Issue (Xcode): 'messages.g.h' file not found
/Users/ldd/.pub-cache/hosted/pub.dev/firebase_auth-4.7.2/ios/Classes/messages.g.m:3:8
image image

deps

  firebase_core: ^2.15.0
  firebase_auth: ^4.7.2
  firebase_app_check: ^0.1.5+1
  firebase_messaging: ^14.6.5

flutter doctor

[✓] Flutter (Channel stable, 3.10.6, on macOS 14.0 23A5301h darwin-arm64, locale
    zh-Hans-CN)
    • Flutter version 3.10.6 on channel stable at /Users/ldd/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (3 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/ldd/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/ldd/Library/Android/sdk
    • Java binary at:
      /Users/ldd/Library/Java/JavaVirtualMachines/azul-17.0.6/Contents/Home/bin/
      java
    • Java version OpenJDK Runtime Environment Zulu17.40+19-CA (build
      17.0.6+10-LTS)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A5209g
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 75.0.4
    • Dart plugin version 232.8660.129

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

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is 127.0.0.1,localhost,0.0.0.0,::1
    • NO_PROXY contains localhost
    • NO_PROXY contains 127.0.0.1
    • NO_PROXY contains ::1

[✓] Connected device (5 available)    • MI CC 9 (mobile)           • a2555e9c                             • android-arm64  • Android 11 (API 30)
    • 梁典典的iPhone (mobile)        • 00008101-00064D900E22001E            • ios            • iOS 16.6 20G75
    • iPhone 14 Pro Max (mobile) • 04EA4D51-8126-4D4F-8657-4E991E635751 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.0 23A5301h darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 114.0.5735.133

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform: iosIssues / PRs which are specifically for iOS.plugin: authresolution: fixedA fix has been merged or is pending merge from a PR.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions