我一直在嘗試將我的項目遷移到cocoapods。未找到Firebase框架
我覺得我幾乎沒有,但我被困在:
ld: framework not found Firebase for architecture x86_64 error: linker command failed with exit code 1 (use -v to see invocation)
我想用我的「app.xcworkspace」編制和項目如下:
另外:
我試過開始其他項目和Firebase的作品,所以這是這個項目設置的問題......任何想法?
我podfile看起來是這樣的:
# Uncomment this line to define a global platform for your project
# platform :ios, ‘8.0’
target 'Parti' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Parti
pod 'Firebase'
pod 'Firebase/Storage'
pod 'Firebase/Auth'
pod 'Firebase/Database'
target 'PartiTests' do
inherit! :search_paths
# Pods for testing
end
target 'PartiUITests' do
inherit! :search_paths
# Pods for testing
end
end
這可能是相關的補充,Xcode的嘗試時錯誤發生在「鏈接/用戶/ MYNAME /庫/開發商/ Xcode中/ DerivedData /雜色gsdsljzobcnqjkgutfpjasgrsfck /構建/產品/調試-iphonesimulator/Parti.app /雜色」
仍引發錯誤。 –
試試這個Podfile並重復步驟3 – Idan
'pod update && pod install'爲我工作,謝謝:) – GabLeRoux