The audio is not loading, even if the player run, the time is always 0
Post
Replies
Boosts
Views
Activity
Thanks for the comments, there is in fact an error that i didn't see before :
AVQueuePlayer status: AVPlayerStatusReadyToPlay
AVQueuePlayer error: nil
AVPlayerItem status: AVPlayerItemStatusFailed
AVPlayerItem error: Error Domain=NSCocoaErrorDomain Code=257 "The file couldn’t be opened because you don’t have permission to view it." UserInfo={NSUnderlyingError=0x600002a7f5d0 {Error Domain=NSOSStatusErrorDomain Code=-12203 "(null)"}}
AVURLAsset: AVURLAsset: 0x600002504980, URL = file:///Users/xx/Music/Music/Media.localized/Music/xx/xx/xx.mp3
It only happens with audios from Music folder
Something interesting is that the app has permission for "Music & Apple Music" in "Security & Privacy" from "System preferences"
Is something else needed to access music folder ?