-
Notifications
You must be signed in to change notification settings - Fork 959
Flipper doesn't build with Xcode "react-native": "0.70.0", #4278
Comments
Exact same problem! Stuck on this for quite a while. |
Downgrade to flipper 0.163.0 seems to have fixed it. |
Same problem here, but with xcode 14.0.1 |
Seems like Xcode is trying to link Flipper again for release builds. This had been fixed by @mweststrate a long time ago: #976 (comment) I wonder what happened for this bug to come up again. For now, my workaround has been downgrading, just like @Acetyld :/ The most recent published version (that is on npm, cocoapods, and Maven) without this bug is 0.164.0. |
I was also looking for a solution for this problem, I updated to the latest version of Flipper and I was no longer able to do the building, after a while I found the solution through the Flipper site itself. you can write this line in podfile
hope this can help you all :) |
@BS-FastwebIT |
Any solution for this issue yet? |
Same here, I can build the app locally, but any release version will fail with the error below:
Xcode 13.3 |
For me, the problem appeared after installing react-native-flipper (0.173.0). |
Same issue for me, I am going to try adding "Release" |
The same issue occurred here. I fixed this error by setting flipper version to
and setting However this caused a different error:
I got around that by adding the following build-script to
and running the above before building the app in xcode. |
I downgraded flipper version to 0.163.0 without changing anything else, and it worked for me. It is not the solution we are aiming for though, just temporary one. |
Still an issue on the most recent 0.174.0 |
@alicja99 it worked for me too, thank you. :) |
This is the current Flipper issue: facebook/flipper#4278
@Acetyld @alicja99 thanks that worked. Was about to completely remove Flipper as a last resort. |
downgrade to flipper 0.163.0 works for me with react native 0.70.2 & xcode 14.1 |
I got it working with Build: |
Same issue on my end, using |
Still happens on react-native 0.70.6 and react-native-flipper 0.176.1 |
@longb1997 : i have also same react-native version 0.70.6 but i solve with :flipper_configuration => FlipperConfiguration.enabled(["Debug", "Release"], {'Flipper' => '0.163.0'}), |
Works for me! |
In my case the problem was different. Using in Podfile the default flipper configuration:
I found that when launched In the screen I put the right version. To fix, call
Launch again |
This is related to facebook/flipper#4278, where it's possible to generate a build that includes flipper via the .enabled() flag, but also missing the correct metro configurations. To remedy this, ECF will always enable flipper for all environments, with the disable option respecting the newer NO_FLIPPER configuration in addition to the legacy check of FLIPPER_DISABLE.
Same issue using Reverting to |
When there are issues in my rn apps it's always flipper, I have tried all fixes mentioned above and nothing works. |
any solution please, Im feel much tied and painful when upgrade react native to 0.71.x |
just set work to me, nothing to do |
@fukemy thank you!! it works for me |
Hey, i have the same problem with flipper 0.189.0 |
I have the same problem with flipper 0.192.0 |
We also encountered this issue and spent almost two days investigating it. We eventually discovered that the versions of the |
Issue - Fix: facebook/flipper#4278 Follow-up - #6944 Branch from - #6851 File changes - package.json - yarn lockfile - cocoapods lockfile
Issue - Fix: facebook/flipper#4278 Follow-up - #6944 Changes - Remove `cocoapods-install@2` configs that don't support custom flags like `NO_FLIPPER=1` - Replace with scripts that `pod install` without Flipper Refs - https://github.com/facebook/react-native/releases/tag/v0.71 - https://github.com/bitrise-steplib/steps-cocoapods-install - Inputs command flags unsupported Docs - https://bitrise.io/integrations/steps/cocoapods-install - https://devcenter.bitrise.io/en/steps-and-workflows/workflow-recipes-for-ios-apps/-ios--install-cocoapods-dependencies.html - https://devcenter.bitrise.io/en/dependencies-and-caching/managing-dependencies-for-ios-apps/managing-dependencies-with-cocoapods.html Improvement - Make this one script
This enables flipper for your release build, which is not something you want to do |
Having this issue regardless of version and regardless of adding |
@npinney you should be able to add flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled |
In my case, this was solved by installing the proper version of the I could see in the |
Still not working, "react-native": "0.72.5", "react-native-flipper": "0.212.0" |
in Pods file in recat-native.config.js
then do |
I am facing this issue in RN 0.72.4 with flipper version 0.182.0 I have to use Flipper version 0.182.0 because I am using fresco-plugin in android/app/build.gradle. Is there any better solution ? @fukemy @fcaldarelli |
Just wondering if there is any update on this issue or newer version of Flipper 163. |
It might no longer be an issue since the use of Flipper is discouraged from version 0.73 onwards. |
I also ran into the same bug but fortunately, this solution worked for me. |
🐛 Bug Report
Xcode 12.5 RC
React Native 0.70.0
The text was updated successfully, but these errors were encountered: