Skip to content

macOS build warnings in firebase_core, firebase_auth, firebase_app_check #17931

@bniladridas

Description

@bniladridas

When building a Flutter app for macOS using the latest versions of Firebase plugins, several warnings appear during compilation:

firebase_core (4.3.0):

  • Incompatible pointer types assigning to 'NSString * _Nullable' from 'NSNull * _Nonnull' in FLTFirebaseCorePlugin.m:92

firebase_auth (6.1.3):

  • Incomplete implementation in FLTPhoneNumberVerificationStreamHandler.m
  • Sending incompatible type in FLTFirebaseAuthPlugin.m
  • Unused variables and deprecated declarations (fetchSignInMethodsForEmail, updateEmail)
  • Unused function handleAppleAuthResult

firebase_app_check (0.4.1+3):

  • Unguarded availability for FIRAppAttestProvider (macOS 11.3+)

These warnings are from the plugin's native code and cannot be suppressed locally without hiding all warnings. They appear harmless but clutter the build output. Please consider fixing them in future releases.

Related: bniladridas/browser#130 (PR that suppresses these warnings in build configs)

Flutter version: 3.38.5
Dart version: 3.10.4
macOS version: 15.2 (26.2 25C56 darwin-arm64)
Xcode version: 16.2

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