transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.54k stars 424 forks source link

Pod install - Searching for inspections failed: undefined method `map' for nil:NilClass #1960

Closed iSaBo96 closed 2 months ago

iSaBo96 commented 2 months ago

Your Environment

Expected Behavior

Actual Behavior

Get the error "Searching for inspections failed: undefined method `map' for nil:NilClass" after "pod install"

Steps to Reproduce

  1. npx react-native init myTest 2.npm --save i react-native-background-geolocation
  2. cd ios
  3. pod install

Context

Delete Podfile.lock and Pods

Debug logs

christocracy commented 2 months ago

Did you try searching"undefined method `map' for nil:NilClass"? It's the first thing I did...

https://stackoverflow.com/questions/67443265/error-regarding-undefined-method-map-for-nilnilclass-for-flutter-app-cocoap

iSaBo96 commented 2 months ago

I have to run the "arch -x86_64 gem install ffi" command with "--user-install". After this, works fine. Thank you. Can be closed :)

christocracy commented 2 months ago

You opened the issue: you can close it.