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

iOS pod install #258

Closed cdotte closed 2 years ago

cdotte commented 3 years ago

I've got 5.2.0 version. I reinstalled the library couple of times (and cleaned Pods folder and deleted Podfile.lock) but I got the following error

`[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod react-native-geolocation-service depends upon React-Core, React-RCTActionSheet, React-RCTAnimation, React-RCTBlob, React-RCTImage, React-RCTLinking, React-RCTNetwork, React-RCTSettings, React-RCTText, React-RCTVibration, Folly, React-cxxreact, React-jsi, React-jsiexecutor, Yoga, glog, React-jsinspector, and DoubleConversion, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.`

Agontuk commented 3 years ago

Which RN version are you using ? This was an issue on version 5.0 but got fixed in the newer versions.

haralddoderer commented 3 years ago

"react-native": "0.61.4",

same issue.

Agontuk commented 2 years ago

Closing due to inactivity