CocoaPods not installed 或者The sandbox is not in sync with the Podfile.lock. Run 'pod install' or ...

  • on Android Studio
Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see [https://flutter.dev/platform-plugins](https://flutter.dev/platform-plugins) To install see [https://guides.cocoapods.org/using/getting-started.html#installation](https://guides.cocoapods.org/using/getting-started.html#installation) for instructions.

Exception: CocoaPods not installed or not in valid state.

  • on Xcode
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

解决:
close Android Studio and open terminal and paste

open /Applications/Android\ Studio.app 

重新打开后好了

参考链接

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。