I'm currently integrating a private library from vendor which they mentioned it's required to have use_framework!
added in Podfile
. Apparently I found out from them, the framework is written in Objective-C, if so.. why is use_framework!
needed? I thought this is the reason why we use use_framework!
use_frameworks tells CocoaPods that you want to use Frameworks instead of Static Libraries. Since Swift does not support Static Libraries you have to use frameworks.
Currently I'm facing this build time issue 'React/RCTBridgeDelegate.h' not found
in AppDelegate.h
Side info,
- My project is running on React Native Firebase v6, hence I have added
# $RNFirebaseAsStaticFramework = true
to handle theuse_framework!
case. Read more about this here. - I'll get the following error if I don't append
use_framework!
Framework not found helloFramework
I confirmed my project's scheme has the React Bulleyes icon from
podfile
and I'm building on this scheme
My questions, why do I get this issue when I use use_frameworks!
? What's is the correct way to handle this issue?
Update:
- Created issue at React Native Github