Guys, I found the fix. Calling MPMediaLibrary.default().addItem(...) never reaches completion when called on the main thread. However, I wrapped it in a DispatchQueue.global(qos: .utility) {} and this made it work.
Topic:
Media Technologies
SubTopic:
General
Tags: