【发布时间】:2016-11-04 13:05:00
【问题描述】:
我一直在查找与此 Xcode 错误有类似/相同问题的每个网站,我已经尝试了所有方法,但没有任何效果。大多数人说清理和构建项目将使 Firebase 得到认可,但这并没有奏效。我尝试了一堆不同的框架搜索路径,但每个框架都在不同的文件夹中,而不是一个框架文件夹。这是我的 podfile:
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
target 'Target' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Target
target 'TargetTests' do
inherit! :search_paths
pod 'Firebase', '>= 2.5.0'
# Pods for testing
end
end
我已经尝试让我的框架搜索路径 $(SRCROOT) 和所有变体都不起作用。我的问题似乎与我可以通过谷歌搜索找到的任何其他问题不同。我怀疑它是框架搜索路径,但我不知道该怎么做,我可能是错的。
任何帮助将不胜感激。
【问题讨论】:
-
您是否尝试过在 target> 中嵌入带有库的二进制文件。我的意思是您添加了框架??
-
您确定查看的是 .xcworkspace 文件而不是 .xcproj 文件吗?这为我解决了问题。
-
另外,这很明显,但是...您确实运行了 'pod install' 对吗?
-
我在 .xcworkspace 中,我已经运行了 pod install,到目前为止还没有运气:(
标签: ios xcode swift firebase firebase-realtime-database