Skip to content

[🐛] Expo - ios React Native Firebase - pod install not working #6323

Closed
@rahul2992

Description

@rahul2992

Hi everyone

I am trying to use expo with react native firebase in the config plugin as explained on the link

The installation is working for android, but for ios I am running in the following error. Any guidance would be helpful. Thank you

⚠️ Something went wrong running pod install in the ios directory.
Command pod install failed.
└─ Cause: The following Swift pods cannot yet be integrated as static libraries:

The Swift pod FirebaseCoreInternal depends upon GoogleUtilities, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

I have tried running with use_modular_headers! in the PodFile to install the pods. Post which I run into the following issue:

510 |
511 | // They need the definitions of integer types.

512 | #include "glog/log_severity.h"
| ^ import of module 'glog.glog.log_severity' appears within namespace 'google'
513 | #include "glog/vlog_is_on.h"
514 |
515 | // Initialize google's logging library. You will see the program name

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: needs-reproThis issue could not be reproduced or needs a repro provided.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions