Agontuk / react-native-geolocation-service

React native geolocation service for iOS and android
https://www.npmjs.com/package/react-native-geolocation-service
MIT License
1.61k stars 292 forks source link

react_native_geolocation_service.modulemap not found #271

Closed Nekuin closed 3 years ago

Nekuin commented 3 years ago

React Native: 0.64.0 Library version: 5.2.0

fatal error: module map file '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-bjwtijdcpkjreogcmfvucqgopgrg/Build/Products/Release-iphoneos/react-native-geolocation-service/react_native_geolocation_service.modulemap' not found

I'm getting this error while trying to run the project on an iOS device through Xcode. Things I've tried: remove node_modules & npm install again pod deintegrate & pod install again

I can run it on a simulator with npm run ios, I can also successfully deploy the app to TestFlight using fastlane. But it would be nice to be able to debug on a real device too.

Nekuin commented 3 years ago

Nevermind, I opened .xcodeproj instead of .xcworkspace... Anyone stumbling here, make sure to use .xcworkspace, and if that doesn't work maybe this thread will help you further: https://github.com/facebook/react-native/issues/29605