react-native-file-logger icon indicating copy to clipboard operation
react-native-file-logger copied to clipboard

Invalid RNFileLogger.podspec, undefined method install_modules_dependencies for module Pod

Open Balaji-Burfi opened this issue 1 year ago • 1 comments

I'm facing the issue when doing pod install. I'm using react-native-file-logger version 0.5.4 I can able to understand the issue where it from. It's because of the line number 22 at package file RNFileLogger.podspec. I didn't use new architecture. My react native version is 0.70. If I commented the line 22 I can able to run the pod install successfully. Any one please help me to bypass that or else provide alternative way to rectify the issue. Screenshot 2024-06-20 at 9 31 56 PM

If I commented the marked line I can able to run the pod install. I hope it's only for new architecture but I didn't enabled the new architecture. Screenshot 2024-06-20 at 9 57 07 PM

Balaji-Burfi avatar Jun 20 '24 16:06 Balaji-Burfi

Hello @Balaji-Burfi Thank you for your report.

The install_modules_dependencies method is available starting from React Native 0.71.

Therefore, my best advice is to update to React Native 0.71 to resolve your issue.

No worries about arch, react-native-file-logger is compatible with both old and new architectures.

fdrault avatar Jun 21 '24 08:06 fdrault