You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When integrating the react-native-maps library with a React Native app that utilizes the callstack/react-native-visionos library for visionOS development, a build error occurs. The error, as shown in the attached screenshot, indicates a Library not found for -lGoogleMaps issue. This issue prevents successful app compilation and might be related to compatibility between the two libraries.
please use react-native-maps pod instead of react-native-google-maps pod.
you can try to exclude the GoogleMaps Pod from visionOS build, for that you need to look outside this lib since it's a generic xcode build config (excluding dependency from a specific OS / target).
Summary
When integrating the react-native-maps library with a React Native app that utilizes the callstack/react-native-visionos library for visionOS development, a build error occurs. The error, as shown in the attached screenshot, indicates a Library not found for -lGoogleMaps issue. This issue prevents successful app compilation and might be related to compatibility between the two libraries.
Reproducible sample code
Steps to reproduce
Expected result
The app should compile successfully and include react-native-maps functionality.
Actual result
The builds fail with the error Library not found for -lGoogleMaps.
React Native Maps Version
1.15.1
What platforms are you seeing the problem on?
iOS (Apple Maps), iOS (Google Maps)
React Native Version
0.73.6
What version of Expo are you using?
Not using Expo
Device(s)
VisionPro Simulator
Additional information
No response
The text was updated successfully, but these errors were encountered: