我正在尝试将firbaseui/存储吊舱添加到iOS应用程序中,该应用程序抛出以下链接器错误:
找不到架构的sdwebimage x86_64
我尝试过独立添加sdwebimage并起作用,但是一旦我添加firebaseui/storage pod,它就会丢弃上述错误。
有什么想法会导致这件事?
这就是我的podfile的样子:
target 'myApp' do
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Storage'
pod 'FirebaseUI/Storage'
pod 'SDWebImage'
pod 'MMDrawerController'
end
我遇到了完全相同的问题。我似乎已经通过将POD文件更改为...
来修复它target 'MyApp' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
use_frameworks!
# Pods for MyApp
pod 'SDWebImage', '~>3.8'
# pod 'Firebase/Core'
pod 'FirebaseUI', '~> 1.0'
target 'MyAppTests' do
inherit! :search_paths
# Pods for testing
end
target 'MyAppUITests' do
inherit! :search_paths
# Pods for testing
end
end
要注意的几件事:
- 即使我使用目标c ,我也打开了use_frameworks
- 我关闭了我的firebase pod呼叫 - 它们是由firebaseui自动拉入的
似乎没有明确的文档,即如果还包括其他单独的firebase/... pods。
我需要卸下所有豆荚并在没有firebaseui/存储空间的情况下将其安装回它们,因为它欺骗了几个类,这些类是一旦我删除了[firbaseui/storage] pod。