当我使用 UIDocumentPickerViewController 从 iCloud 中选取 zip 文件时,无法与辅助应用程序通信

Kan*_*vas 3 simulator objective-c ios icloud uidocumentpickerviewcontroller

每当我从我的应用程序中使用 UIDocumentPickerviewcontroller 从 iCloud 中选择文件时,它都会在iPhone模拟器上显示此警报。

在此处输入图片说明

NSArray *types = @[(NSString*)kUTTypeArchive];
UIDocumentPickerViewController *docPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:types inMode:UIDocumentPickerModeImport];
docPicker.delegate = self;
docPicker.modalPresentationStyle = UIModalPresentationPopover;
[self presentViewController:docPicker animated:YES completion:nil];
Run Code Online (Sandbox Code Playgroud)

Anj*_*hah 7

我认为只有新的Xcode 11.2.1Simulator OS 13.2才有问题。

因为我也试过Xcode 10.2和XS Max,它工作正常。

在所有设备正常工作所以不要担心这个警报。

希望苹果尽快解决。