bug on install ios
Environment
- Dev OS: [15.6.1 mac os]
- @rnmapbox/maps version: [eg. 10.1.44]
- React Native version: [0.79.6]
- Expo version: [~53.0.22]
ios 18.6 and ios 26
Steps to reproduce
i have juste install the package and i have this errors
Compiling @react-native-google-signin/google-signin Pods/GoogleSignIn » GIDCallbackQueue.m › Compiling @react-native-google-signin/google-signin Pods/GoogleSignIn » GIDEMMSupport.m › Compiling @react-native-google-signin/google-signin Pods/GoogleSignIn » GIDGoogleUser.m › Compiling @react-native-google-signin/google-signin Pods/GoogleSignIn » GIDAuthStateMigration.m › Compiling @react-native-google-signin/google-signin Pods/GoogleSignIn » GIDSignIn.m › Packaging @react-native-google-signin/google-signin Pods/GoogleSignIn » libGoogleSignIn.a
❌ (ios/Pods/MapboxMaps/Sources/MapboxMaps/Foundation/Tracing.swift:94:47)
92 | if isEnabled { 93 | // Enable tracing in Core
94 | let settings = SettingsServiceFactory.getInstance(storageType: .nonPersistent) | ^ type 'SettingsServiceFactory' has no member 'getInstance' 95 | _ = settings.set(key: "com.mapbox.tracing", value: [subsystem: "platform"]) 96 | } 97 | return isEnabled
❌ (ios/Pods/MapboxMaps/Sources/MapboxMaps/Foundation/Tracing.swift:94:73)
92 | if isEnabled { 93 | // Enable tracing in Core
94 | let settings = SettingsServiceFactory.getInstance(storageType: .nonPersistent) | ^ cannot infer contextual base in reference to member 'nonPersistent' 95 | _ = settings.set(key: "com.mapbox.tracing", value: [subsystem: "platform"]) 96 | } 97 | return isEnabled
Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
› 2 error(s), and 1 warning(s)
CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65.
fase on main [!] via v22.14.0 to
Probably somehow your Pods is corrupted, remove your Podfile.lock and Pods directory.
you can also try
pod cache clean --all
then reinstall pods.
i have completly remove all ios files and i have errors
Sorry there's not much I can do about that. It's two mapbox libraries referring to each other. You can try different versions of Mapbox libraries, but the default ~> 10.19.0 should work
% grep -E 'MapboxMaps|MapboxCommon' Podfile.lock
- MapboxCommon (23.11.4)
- MapboxCommon (~> 23.11)
- MapboxMaps (10.19.4):
- MapboxCommon (= 23.11.4)
- MapboxMaps (~> 10.19.0)
- MapboxMaps (~> 10.19.0)
- MapboxCommon
- MapboxMaps
MapboxCommon: cc47fafe3fe5408ca49240aa80fa64f27f275711
MapboxMaps: f87023cf0d72b180b40ea0b6fb4b2d7db6b73b71
% du -d 1 ./Pods/MapboxCommon
37272 ./Pods/MapboxCommon/MapboxCommon.xcframework
37304 ./Pods/MapboxCommon
du -d 1 ./Pods/MapboxMaps
4288 ./Pods/MapboxMaps/Sources
4440 ./Pods/MapboxMaps