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 podFirebaseCoreInternal
depends uponGoogleUtilities
, 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 setuse_modular_headers!
globally in your Podfile, or specify:modular_headers => true
for 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
2164
(node_modules/react-native-maps/ios/AirGoogleMaps/AIRGoogleMapPolylineManager.m:17:9)
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â
19 |
20 | @interface AIRGoogleMapPolylineManager()
2165
âș Compiling react-native-maps Pods/react-native-google-maps » AIRGoogleMapPolyline.m
2166
(/Users/expo/workingdir/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-google-maps.build/Objects-normal/x86_64/AIRGoogleMapPolyline.dia:1:1)
CompileC /Users/expo/workingdir/build/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-google-maps.build/Objects-normal/x86_64/AIRGoogleMapPolyâŠ
^ Could not read serialized diagnostics file: error(in target âreact-native-google-mapsâ from project âPodsâ)
(warning truncated)
Does anyone has any idea on how to proceed?
Expo SDK v46 (Managed Workflow)
eas-cli@2.1.0
node v16.16.0
yarn v1.22.19