Issue with local music files on iOS 17

Hi! I'm currently developing an app that can play music stored locally. It was working fine previously, but after updating my device to iOS 17, I started getting error -54 when I try to play the file. I also noticed that when getting the list of files in MPMediaQuery.songs(), I would encounter the following errors:

I suspect it might be some issue with file permissions, but I can't figure out what i am missing. I have already checked that MPMediaLibrary.authorizationStatus() is authorized.

Does anyone know what the issue might be? Thank you

Post not yet marked as solved Up vote post of LogicUI Down vote post of LogicUI
825 views

Replies

Im getting same issue here, did you find a solution?

  • I have the same issue. MPMediaQuery works on macOS 14.0 using Catalyst, but does not work on iOS 17.0.

Add a Comment