Closed AndrWeisR closed 4 years ago
You get an error the first time you run the plugin, and the doc picker is very slow to open:
Main Thread Checker: UI API called on a background thread: -[UIDocumentPickerViewController initWithDocumentTypes:inMode:]
Xcode shows error: UIDocumentPickerViewController.delegate must be used from main thread only on DocumentPicker.swift line 48: picker.delegate = self
UIDocumentPickerViewController.delegate must be used from main thread only
picker.delegate = self
Thanks for opening this issue. Fixed on the last release 1.2.2
You get an error the first time you run the plugin, and the doc picker is very slow to open:
Main Thread Checker: UI API called on a background thread: -[UIDocumentPickerViewController initWithDocumentTypes:inMode:]
Xcode shows error:
UIDocumentPickerViewController.delegate must be used from main thread only
on DocumentPicker.swift line 48:picker.delegate = self