在我嘗試使用 firebase 后,我的 Xcode 構建需要很長時間才能運行。我找到了一個解決方案,需要我將它添加到我的 podfile 中
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '6.26.0'
然后洗掉 podfile.lock 以最終運行 pod install。但是 pod install 帶來了這個錯誤,因為
[!] No `Podfile' found in the project directory.
我已經嘗試再次安裝可可豆莢,但 pod install 命令仍然無法在 pod init one 下作業
我能做些什么來解決這個問題
uj5u.com熱心網友回復:
首先,您必須導航到ios目錄
cd ios
然后運行與 iOS 構建相關的任何命令,在您的情況下嘗試
flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
pod deintegrate
pod install
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/337358.html
標籤:扑
上一篇:單擊時如何更改圖示
