audioplayer icon indicating copy to clipboard operation
audioplayer copied to clipboard

Since Flutter upgrade to 1.12.13, audioplayers doesn't work for iOS

Open gurmukhp opened this issue 5 years ago • 4 comments

flutter clean
rm -r ios/Pod
flutter build ios
Building AOT snapshot in release mode (ios-release)...          
Building App.framework for arm64...

Building App.framework for armv7...
Building AOT snapshot in release mode (ios-release)...             52.0s
Built to build/aot/.
warning: parsing line table prologue at offset 0x6f697463 found unsupported version 0x00
warning: line table parameters mismatch. Cannot emit.
note: while processing /Users/___/build/aot/armv7/snapshot_assembly.o
Project /Users/___ built and packaged successfully.
/Users/___/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'audioplayers' not found
@import audioplayers;
 ~~~~~~~^~~~~~~~~~~~
1 error generated.
/Users/___/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'audioplayers' not found
@import audioplayers;
 ~~~~~~~^~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description

Any idea why this is happening? I don't get the error if I run in debug via flutter run

gurmukhp avatar Dec 13 '19 15:12 gurmukhp

This is the repository for the audioplayer package. You are looking for the audioplayers package, which was originally a fork from this repository but has become a more up-to-date version of it: https://github.com/luanpotter/audioplayers

andrewackerman avatar Dec 13 '19 18:12 andrewackerman

这个问题解决了吗?我也遇到了,求解决方案

xmh1206 avatar May 14 '20 02:05 xmh1206

Same issue.

markqq avatar May 21 '20 17:05 markqq

https://github.com/flutter/flutter/issues/54599#issuecomment-653874969

cgdzin avatar Feb 02 '21 11:02 cgdzin