React Native ios pod install error : 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.

[!] The following Swift pods cannot yet be integrated as static libraries:

package.json:

Upvotes: 0

Views: 2129

Answers (1)

Muhammad Huzaifa
Muhammad Huzaifa

Reputation: 1

I just added this 2 lines to my ios/podfile, it works for me. Thanks.

  • "react-native": "0.73.1",
  • "@react-native-firebase/app": "^18.8.0",
  • "@react-native-firebase/messaging": "^18.8.0",

enter image description here

Upvotes: 0

Related Questions