Post

Replies

Boosts

Views

Activity

MPMediaLibrary
When we add item to playlist with productId then my app is hang/Stuck. Below is the code : MPMediaLibrary.default().getPlaylist(with: playlistUUID, creationMetadata: playlistCreationMetadata) { (playlist, error) in guard error == nil else { fatalError("An error occurred while retrieving/creating playlist: \(error!.localizedDescription)") } print(playlist?.persistentID) for item in self.songArray{ playlist?.addItem(withProductID: item.songappleid ?? "", completionHandler: nil) } } And get this log: 2020-12-17 12:16:45.279026+0530 Mix-Tape[3258:1283585] [iTunesCloud] warning: ICUserIdentity - Resolving DSID without an externally supplied identity store; if encoding the identity into an NSCoder, make sure to use -[NSCoder icencodeUserIdentity:withStore:forKey:] . Falling back to using [ICUserIdentityStore defaultIdentityStore]. Optional(4489660233961424741) 2020-12-17 12:17:01.370476+0530 Mix-Tape[3258:1284258] [tcp] tcpinput [C8.1:3] flags=[R] seq=3361714150, ack=0, win=0 state=LASTACK rcvnxt=3361714150, snd_una=357400339
1
0
467
Dec ’20