Xcode:12.5.1
CocoaPods:1.11.2
プロジェクトのターゲット:14.0
Swift:5.3
Podfile
# Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'test' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks! # Pods for test pod 'Firebase' pod 'Firebase/Firestore' pod 'Firebase/Database' pod 'Firebase/Storage' pod 'Firebase/Auth' end
SwiftUIからFirebaseを利用したく、上記インストールを行いました。
しかし、xcode上で、「import Firebase」を行うと、「Could not build Objective-C module 'Firebase'」
が出力されます。
そして、エラーのログを確認したところ、下記二つのログが出力されました。
Showing Recent Messages Framework not found FBLPromises Showing Recent Messages Command PhaseScriptExecution failed with a nonzero exit code
こちらはなぜこの様になってしまうか、考えられる原因を教えていただけないでしょうか?
下記ドキュメントより、キャッシュのクリアやフォルダ削除後の「pod install and pod install --repo-update」を実行しても、同じ結果となります。
https://pippi-pro.com/swift-could-not-build-objective-c-module#i
回答のコメントを削除された後放置されておりますがどうかされたのでしょうか
回答1件
あなたの回答
tips
プレビュー