-
Notifications
You must be signed in to change notification settings - Fork 954
Question: [!] Invalid Podfile
file: uninitialized constant Pod::Podfile::FlipperConfiguration.
#5585
Comments
I get the same issue. Has anyone managed to solve it? |
I had the same exact same issue after I upgraded my react-native version to 0.74.0. I finally decided to revert back to my initial version which was 0.72.7 and it solved the issue. I also reverted "@types/react": "18.2.79" to "^18.0.24", which was my initial version before upgrade. |
I am getting this issue as well. from /Users/xxxxx/Documents/xxxxx/xxxxx_iOS/ios/Podfile:18-------------------------------------------# ```
-------------------------------------------` |
Debugging React Native apps with Flipper is deprecated in React Native 0.73. |
In my use case, I don't use Flipper. So I removed them in Podsfile. ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),```#flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled Line 43 you should disable the next line.#:flipper_configuration => flipper_config, An absolute path to your application root.Basically put # before the Flipper line on the two lines. Then run "pod install" inside "iOS" folder. It will run for a while. For me it took few minutes. Mine run below, just a snippet and not all Installing React-runtimescheduler 0.74.0 (was 0.72.4) |
How do I enforce that in an Expo app? |
I am not in Expo. |
Podfiles are abstracted away in Expo, so no, unfortunately. |
Same issue, using RN 0.74.0
|
they aren't actually, you can run can someone share a minimal reproducible example? |
I would love to upgrade to React Native 0.74. According to the React documentation, Flipper can still be used, but this bug is currently preventing the upgrade. |
@ChrisWiles - can you share a minimal reproducible example? |
Hi. Is there a solution for Flipper to work with React Native 0.74? |
Have you managed to find any solutions for using Flipper with RN 0.74? |
the solution is to remove any mention of flipper from your outdated Podfile |
Any update? im using react native 0.74 |
is there any solution for this? |
I've experienced a freeze during the splashscreen in the ios Release version with 0 errors and logs. In Debug mode everything worked as a charm. I think I had a corrupted I recommend to install a clean react native app. Use a command in cli I hope that'll help someone because I spend too much time on that |
If you have not made any custom changes to the files in your ios and android directories and are ignoring them, you can safely delete both directories and run I also encountered an issue related to Hermes (which I don't use), and I was able to resolve it by upgrading CocoaPods to the latest Hope this helps! |
i have commented it out and even deleted but still get the same issue |
getting this error
RN: 0.74.0
react-native-flipper:0.212.0
The text was updated successfully, but these errors were encountered: