ukasz123 / soundpool

Soundpool plugin for Flutter
88 stars 63 forks source link

Warning: CocoaPods not installed. Skipping pod install #90

Closed meng-fucius closed 2 years ago

meng-fucius commented 2 years ago

在我没有添加这个库时,我的项目能够正常在mac os 上运行,添加之后就会报这个错误

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
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

Exception: CocoaPods not installed or not in valid state.

删除这个库之后又可以正常运行了。

mac os 版本:12.1 cpu: intel Core i7

flutter doctor:

[✓] Flutter (Channel stable, 2.10.0, on macOS 12.1 21C52 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
[✓] VS Code (version 1.63.2)
[✓] Connected device (3 available)
    ! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)
[✓] HTTP Host Availability

• No issues found!
meng-fucius commented 2 years ago

已解决 https://github.com/flutter/flutter/issues/54962#issuecomment-671009062