How do I add media to Simulator?

I'm trying to test my code to use MPMediaPickerController on Simulator but I have no media on Simulator. How do I add media like mp3 files and mp4 files on Simulator?

Accepted Reply

This thread has been deleted

From the docs:


"Add a media picker to your app to allow users to pick individual music items."


https://developer.apple.com/documentation/mediaplayer/adding_individual_media_items_using_a_media_picker


I'd use AVPlayer for video.

Replies

Not supported...test on a device.


That said, SO has this to say:

https://stackoverflow.com/questions/41300608/can-i-add-a-music-library-to-the-xcode-ios-simulator