Post

Replies

Boosts

Views

Activity

Reply to AVPlayerItem is not able to reproduce audio from music folder on Macbook M1
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 ?
Apr ’21