Lab*_*Lab 4 xcode ios cocoapods flutter
更新 Flutter 2 后,我无法再在 IOS 上部署应用程序:
\nWarning: CocoaPods minimum required version 1.9.0 or greater not installed.\nSkipping pod install.\n CocoaPods is used to retrieve the iOS and macOS platform side\'s plugin code\n that responds to your plugin usage on the Dart side.\n Without CocoaPods, plugins will not work on iOS or macOS.\n For more info, see https://flutter.dev/platform-plugins\nTo upgrade see\nhttps://guides.cocoapods.org/using/getting-started.html#installation for\ninstructions.\n\nCocoaPods not installed or not in valid state.\nError launching application on iPhone 11.\nRun Code Online (Sandbox Code Playgroud)\n$ gem which cocoapods\n/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods.rb\nRun Code Online (Sandbox Code Playgroud)\n$ pod --version \n1.8.4\nRun Code Online (Sandbox Code Playgroud)\nDoctor summary (to see all details, run flutter doctor -v):\n[\xe2\x9c\x93] Flutter (Channel stable, 2.0.2, on macOS 11.2.3 20D91 darwin-x64, locale en-FR)\n[\xe2\x9c\x93] Android toolchain - develop for Android devices (Android SDK version 29.0.2)\n[!] Xcode - develop for iOS and macOS\n ! CocoaPods 1.8.4 out of date (1.10.0 is recommended).\n CocoaPods is used to retrieve the iOS and macOS platform side\'s plugin code that responds to your plugin usage on the Dart side.\n Without CocoaPods, plugins will not work on iOS or macOS.\n For more info, see https://flutter.dev/platform-plugins\n To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.\n[\xe2\x9c\x93] Chrome - develop for the web\n[\xe2\x9c\x93] Android Studio (version 3.5)\n[\xe2\x9c\x93] VS Code (version 1.54.3)\n[\xe2\x9c\x93] Connected device (3 available)\nRun Code Online (Sandbox Code Playgroud)\n我已经安装/卸载了几次 cocoapods 但 flutter 似乎没有检测到最新版本
\n我与您分享解决我问题的方法:
brew link --overwrite cocoapods
如果这还不够,这里是我最相关的研究来源:
| 归档时间: |
|
| 查看次数: |
13636 次 |
| 最近记录: |