Flutter-AssetsAudioPlayer icon indicating copy to clipboard operation
Flutter-AssetsAudioPlayer copied to clipboard

Module 'assets_audio_player' not found

Open jennifer-uitoux opened this issue 2 years ago • 3 comments

Screenshot 2023-04-27 at 3 39 25 PM **Flutter Version**

My version : Flutter (Channel stable, 3.0.3, on macOS 11.5.2 20G95 darwin-arm (Rosetta), locale en-IN)

Lib Version

My version : assets_audio_player: ^3.0.6

Platform (Android / iOS/web) + version

Platform: iOS

I'm getting the error Module 'assets_audio_player' not found if I try to run the project in xcode.

I'm not able to find any solution regarding this issue.

jennifer-uitoux avatar Apr 27 '23 10:04 jennifer-uitoux

That looks like you're trying to import the library in the wrong place (an objective-C file instead of a dart file).

In your dart package, import using this syntax:

import 'package:assets_audio_player/assets_audio_player.dart';

crimson-knight avatar Sep 15 '23 11:09 crimson-knight

hi @all

After setting 'Debug' to 'Yes' in the 'Build Active Architecture Only' option, it started working for me.

Screenshot 2023-12-11 at 12 55 24

pro100andrey avatar Dec 11 '23 10:12 pro100andrey

This fix doesn't work in my case. This issue has been reported twice => #772 #720 . None of these tickets has a solution.
@florent37 any idea ?

1074f avatar Jul 30 '24 12:07 1074f