I am trying to integrate firebase analytics into an application following the documentation steps and initially I got the following error after running eas build when installing the pods:
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod
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 => truefor particular dependencies.
After looking up for solutions online I saw that some people recommended using the expo-build-properties plugin to change the podfile settings for the use_fraweworks option and set it to static.
I tried running eas build again and then the pod install step stopped failing but then I got this on the fastlane compilation process (which now seems to be an issue with react-native-google-maps):
Compiling react-native-maps Pods/react-native-google-maps » AIRGoogleMapPolylineManager.m
15 | #import <React/RCTViewManager.h>
16 | #import <React/UIView+React.h>
17 | #import “RCTConvert+AirMap.h”
| ^ ‘RCTConvert+AirMap.h’ file not found
18 | #import “AIRGoogleMapPolyline.h”
20 | @interface AIRGoogleMapPolylineManager()
› Compiling react-native-maps Pods/react-native-google-maps » AIRGoogleMapPolyline.m
^ Could not read serialized diagnostics file: error(in target ‘react-native-google-maps’ from project ‘Pods’)
Does anyone has any idea on how to proceed?
Expo SDK v46 (Managed Workflow)