启用use_modular_headers!在expo react-native项目中的podfile中

agxfikkp  于 2023-06-24  发布在  React
关注(0)|答案(1)|浏览(140)

尝试在我的世博项目中使用@baronha/react-native-photo-editor包它是一个独立的世博应用程序我已经在android上做了集成,但我不知道如何启用use_modular_headers!在iOS的podfile中
在@baronha/react-native-photo-editor的文档中,当构建静态库时,需要从Swift导入SDWebImageSDWebImageWebPCoder。因此需要在Podfile中全局设置use_modular_headers!,或者为特定依赖项指定:modular_headers => true
我在android上使用Config Plugins实现了软件包,但找不到iOS的任何东西

u3r8eeie

u3r8eeie1#

https://github.com/invertase/react-native-firebase/issues/6332报告了类似问题。你可能需要修改你的app.json,参见例如https://rnfirebase.io/#expo

相关问题