Hello!
Recently i’ve implemented Firebase Analytics to track our app. We followed the Expo managed workflow guide from the Firebase website. After this installation all EAS builds fail, saying the Swift architecture is unsupported from the Google-Maps-iOS-Utils.
Error output:
› Compiling react-native-maps Pods/react-native-google-maps » AIRGoogleMapManager.m
› Compiling react-native-maps Pods/react-native-google-maps » AIRGoogleMapHeatmapManager.m
❌ (/Users/expo/workingdir/build/ios/build/Build/Products/Debug-iphonesimulator/Google-Maps-iOS-Utils/GoogleMapsUtils.framework/Headers/GoogleMapsUtils-Swift.h:310:2)
308 |
309 | #else
> 310 | #error unsupported Swift architecture
| ^ unsupported Swift architecture
311 | #endif
312 |
❌ (node_modules/react-native-maps/ios/AirGoogleMaps/AIRGoogleMapHeatmap.h:7:9)
5 | //
6 |
> 7 | #import "GMUHeatmapTileLayer.h"
| ^ could not build module 'GoogleMapsUtils'
8 |
9 | @interface AIRGoogleMapHeatmap : UIView
10 |
EAS configuration
{
"build": {
"development-simulator": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
},
"channel": "development-simulator"
}
},
}
Inside app.json
"expo-build-properties",
{
"ios": {
"useFrameworks": "static"
}
}
Package versions
“react-native-maps”: “1.7.1”
“expo”: “^49.0.8”
“react-native”: “0.72.4”