Hi, I'm going to start by saying that I'm a very novice Xcode user.
I'm trying to add a feature that imports a file into the app's sandbox with "DocumentPickerViewController". I added a "UIBarButtonItem" (it seemed better just by using a regular button) and wrote some code just to start DocumentPicker, but I get this error: " unknown selector sent for example 0x10180b540" and app crashes.
edit: I use Xcode 10.x (last) and Swift 5.
edit 2 : * For information purposes * I solved this by checking the "target legacy module".
sent by / u / jayb98