我是React原生开发的新手,但是我遇到了blow错误
Unable to run command 'Libtool libRNFirebase.a' - this target might include its own product.这是我的podfile
target 'TheClub' do
.....
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Messaging'
pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'
target 'TheClubTests' do
inherit! :search_paths
end
end
target 'TheClub-tvOS' do
target 'TheClub-tvOSTests' do
inherit! :search_paths
end
end我已将我的RNFirebase.xcodeproj文件包含在库文件夹中
另外,我已经确认,libRNFirebase.a文件位于“具有库的链接二进制文件”中。
求求你,帮我出来吧。
提前谢谢。
发布于 2018-10-19 18:44:58
我有个解决方案,
需要更换
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Messaging'至
pod 'Firebase', '~> 5.9.0'
pod 'Firebase/Core', '~> 5.9.0'
pod 'Firebase/Auth', '~> 5.9.0'
pod 'Firebase/Messaging', '~> 5.9.0'
pod 'Firebase/Database', '~> 5.9.0'
pod 'Firebase/Firestore', '~> 5.9.0'谢谢“阮德宏”,真的是一个不错的视频。https://www.youtube.com/watch?v=iEpmEAlUhmc
快乐编码
https://stackoverflow.com/questions/52869148
复制相似问题