我一直得到一個專案目錄中沒有找到 "Podfile "的錯誤,盡管我有一個podfile和一個podfile.lock。我運行了flutter clean、flutter pub get、pod init、flutter build iOS,但仍然得到同樣的錯誤資訊。我試著洗掉pod檔案,然后運行sumo gem install cocoapod,pod install,然后flutter build iOS的命令,仍然不斷遇到同樣的錯誤。
uj5u.com熱心網友回復:
將你的作業目錄改為ios:
cd ios
然后運行你想要的任何pod命令
。轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/320052.html
標籤:

