Hi Ice, Fabrice,
did you find a solution. I tried to add it as delegate to the UIViewController but it's also not working:
class UIViewController: UIViewController, PHPickerViewControllerDelegate {
...
}
If you have a reference implementation can you share it on GitHub?
I found the exact same behavior here but they also did not have any solution so far
https://stackoverflow.com/questions/64121797/picker-unavailable-there-was-an-error-while-preparing-the-picker-please-try-ag
2020-10-20 19:56:08.386568+0200 Capri[2928:151689] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2020-10-20 19:56:09.034177+0200 Capri[2928:147896] [Picker] Picker failed with error: Error Domain=PXErrorDomain Code=-1 "PHPickerViewController did receive interruption." UserInfo={NSDebugDescription=PHPickerViewController did receive interruption.}
2020-10-20 19:56:09.035269+0200 Capri[2928:152165] [lifecycle] [u 05AECDAD-C4FF-4457-97C4-22EB9E4F5D5E:m (null)] [com.apple.mobileslideshow.photospicker(1.0)] Connection to plugin interrupted while in use.
2020-10-20 19:56:09.036025+0200 Capri[2928:152165] [lifecycle] [u 05AECDAD-C4FF-4457-97C4-22EB9E4F5D5E:m (null)] [com.apple.mobileslideshow.photospicker(1.0)] Connection to plugin invalidated while in use.
2020-10-20 19:56:09.036502+0200 Capri[2928:147896] [Picker] Picker failed with error: Error Domain=NSExtensionErrorDomain Code=-2 "Extension cancelled by host." UserInfo={NSLocalizedDescription=Extension cancelled by host.}
2020-10-20 19:56:09.037921+0200 Capri[2928:147896] [Picker] Picker failed with error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 2936 named com.apple.mobileslideshow.photospicker.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid." UserInfo={NSDebugDescription=The connection to service on pid 2936 named com.apple.mobileslideshow.photospicker.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.}
Tag: wwdc20-10652
Post
Replies
Boosts
Views
Activity
Is there any update? I cannot believe that this is not working. Is there a new way of using these lifecycle methods?