当我在 iOS 上测试它时它工作正常但是当我尝试在 XCode 上存档时它给了我以下错误:
找不到模块“音频播放器”
我使用音频播放器 0.13.5
正如您从我的 pubspec 文件中看到的,我有最新的 flutter,一切正常,但我不知道为什么会出现此错误。
我还尝试了很多类似以下解决方案的事情:
brew install cocoapods
pod setup
Run Code Online (Sandbox Code Playgroud)
我还删除了iOS文件夹并重新安装。
我的pubspec.yaml
name: mohammad
description: A new Flutter project.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying …Run Code Online (Sandbox Code Playgroud)