3.5 C
New York
Saturday, April 12, 2025

react native – Google-Maps-iOS-Utils/GoogleMapsUtils.modulemap’ not discovered


My Podfile :-

# Resolve react_native_pods.rb with node to permit for hoisting
require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

platform :ios, min_ios_version_supported
prepare_react_native_project!

# Add Google Maps pod
pod 'GoogleMaps'
pod 'Google-Maps-iOS-Utils'
pod 'react-native-google-maps', :path => '../node_modules/react-native-maps', :modular_headers => true
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

# Add permissions configuration for react-native-permissions
require_relative '../node_modules/react-native-permissions/scripts/setup'
setup_permissions([
  'LocationAccuracy',
  'LocationAlways',
  'LocationWhenInUse',
])


linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
  use_frameworks! :linkage => linkage.to_sym
finish

goal 'EquiptApp' do
  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # An absolute path to your software root.
    :app_path => "#{Pod::Config.occasion.installation_root}/.."
  )

  goal 'EquiptAppTests' do
    inherit! :full
    # Pods for testing
  finish

  post_install do |installer|
    # https://github.com/fb/react-native/blob/principal/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false,
      # :ccache_enabled => true
    )
  finish
finish

I’m able to efficiently run the app utilizing metro, however when i attempting to archive or construct launch my app utilizing xcode(proj or workspace) I get the talked about error

Utilizing M4 chip mac, and xcode verison – 16.2

variations of deps utilizing :-
“react-native”: “0.76.1”,
“react-native-maps”: “^1.20.1”

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles