Skip to content

[firebase_messaging] for iOS XCode Product/Archive failed with "Module 'firebase_messaging' not found" #2156

Closed
@igorantolic

Description

@igorantolic

I started with default Flutter app, and successfully published on AppStore
When trying to add messaging- following pub.dev/packages/firebase_messaging instructions for iOS,
flutter build ios --release
finished OK


  Running pod install...                                              4.9s
            Running Xcode build...                                                  
                                                           
            ├─Building Dart code...                                    22.7s
            ├─Generating dSYM file...                                   0.1s
            ├─Stripping debug symbols...                                0.0s
            ├─Assembling Flutter resources...                           1.8s
            └─Compiling, linking and signing...                        24.9s
            Xcode build done.                                           110.8s
            Built /Users/..../proj/flutter/___/build/ios/iphoneos/Runner.app.

====
But then in XCode Product/Archive failed with "Module 'firebase_messaging' not found"

I tried several times without success

Versions:

firebase_messaging 6.0.12
Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-GB)

It might be a beginner's mistake, but I thought I just followed simple instructions ok.
Several tricks used without success (modifying Podfile, deleting this or that...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    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