Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Cannot find 'AVURLAssetOverrideMIMETypeKey' in scope

I am using audioplayers package in my flutter app. It works well on android, but when i try to generate an archive for iOS, the build fails with the following message:

Cannot find 'AVURLAssetOverrideMIMETypeKey' in scope

and the cuasing file is
WrappedMediaPlayer inside the audioplayers> audioplayers_darwin

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I have been looking around for any solution but no luck so far.

>Solution :

I encountered this issue a few days ago, and here’s some information that might help.

This problem seems to be due to Apple’s restrictions on Xcode. You need Xcode version 15 or higher to use the audioPlayers package.

An issue has been opened on the audioplayers GitHub repository:

GitHub Issue

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading