-
Notifications
You must be signed in to change notification settings - Fork 954
Flipper integration with cocoapod use_frameworks! cannot compile #2414
Comments
0.98.0 still this error |
It probably helps if you include the actual error you are getting. It also helps people searching for the error:
|
maybe help: #2548 (comment) |
I am also getting compile time errors if use "use_frameworks! ". I want to use Flipper in a project that have mix of swift and objective c. Xcode - 13.0 beta 4 Error 1- Error 2- |
Please help us solve this problem. Our develop team thinks it's very important and useful. 😭😭😭 |
cc @lblasa any idea why
|
I downgraded Flipper to 0.87.0 and installed Flipper-Folly by specifying local pod spec file then this problem was solved. This is flipper part of my Podfile:
The local pod spec json file is :
In addition, do not use "use_modular_headers!" if you write "use_frameworks!" in Podfile. |
Same here, can't use Flipper in my project cause of |
Hello folks. I encountered this issue and I tried a few things. There is one thing that I tried and it fixed the problem. I am no expert on cocoapods or flipper, but I got it build by just adding
It is yet to know how this works out and I am in a my-code-works-but-I-dunno-why situation. If you are a cocoapods expert please help me digging a bit. |
Oh, I tried with Flipper latest version 127 and It's worked, Maybe Flipper-folly has fixed it, 🥳 🥳 🥳 🥳 🥳 |
It seems that
|
invertase/react-native-firebase#6425 (comment) This did it for me! |
@x7Michi10x Can I ask you how your Podfile looks and what versions you're using? I cannot get it to work when trying to follow the solution comment. |
react-native: 0.70.9 Podfile: |
I can't believe this issue is still open. React Native team knows it's an issue but just says to disable flipper, says that Flipper team needs to fix it. With hermes you pretty much need Flipper now. Why isn't this a higher priority? |
@martintreurnicht FYI, I know it doesn't fix the immediate issue, the intention is for Flipper integration not to be on by default in future and Hermes debugging to occur via Chrome DevTools (while the code still runs inside Hermes). More info here: https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0641-decoupling-flipper-from-react-native-core.md |
🐛 Bug Report
My ios swift project uses several dynamics frameworks so
use_frameworks!
is mandatory. Unfortunately the official steps here doesn't seem to be working.I tried to debug this but this happens even in an empty project, where the only pods are Flipper itself.
Any help or suggestion to fix this issue?
Thanks in advance.
To Reproduce
Here's a sample project: https://github.com/andikapratama/flipper_use_framework_example
run
pod install
open the workspace project and build.
compile will fail
Environment
MacOS Big Sur 11.1
XCode 12.5
Cocoapod 1.10.1
The text was updated successfully, but these errors were encountered: