Closed luutruong closed 8 months ago
@luutruong Hey, thanks for flagging this!
Indeed, I can reproduce the issue on this RN version.
So far, I can't determine the root cause, but it might be related to some dependencies.
However, it works for me when I use the new RN architecture.
I removed the Podfile.lock
and Pods
directory, then executed pod cache clean --all
followed by
RCT_NEW_ARCH_ENABLED=1 pod install
Please let me know if this works for you.
It seems I have found the root cause of the error:
Cannot find interface declaration for 'GPHContent'
Cannot find interface declaration for 'GiphyViewController'
For some reason, starting with RN version 0.73.0
, it adds redundant elements to the generated bridging header.
I'll need to release a new version to fix this, but you can also try the change locally. You need to remove the public
modifier from the following:
public class RTNGiphyTheme
public extension GPHContent
public extension GiphyViewController
This should resolve the issue.
same issue :)
We've released a fix in v3.2.2. Please check it when you get a chance. If the problem persists, please reopen this issue or create a new one
🐛 Bug Report
I try to upgrade to react-native 0.73.1 and get this error
I also added this line to Podfile
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec', :modular_headers => true
The error gone but It fails to build app
Note: I also tried with
yarn cache clean
andpod cache clean --all
To Reproduce
(Write your steps here:)
Expected behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots, if applicable.)
Your Environment
Reproducible Demo