cannot obtain executable path for plug-in

Originator:jllehman
Number:rdar://24440097 Date Originated:2/1/2016
Status:Open Resolved:
Product:iOS Product Version:iOS 9 (iOS 9.2.1)
Classification:Severe Reproducible:Yes after reboot device then install app
 
01-Feb-2016 10:33 AM


Summary:
Our app has a DocumentPicker extension that uses a FileProvider. Our App, DocumentPicker, and FileProvider all belong to an app group in order to access a shared container. 

Sometimes the FileProvider is not available and we see the following message in the log:
 "error" => <string: 0x126d2b370> { length = 128, contents = "cannot obtain executable path for plug-in DocumentPickerFileProvider(67EC5411-4C98-4A20-8E05-3E0161C3D523)"

We have only seen this issue on iOS 9.

It seems as though our configuration is correct as most of the time the DocumentPicker and FileProvider work but we are seeing this issue where the FileProvider is invalidated.

Steps to Reproduce:
On an iPhone running iOS 9.2.1 without the app installed:
1. Reboot the phone
2. Install app
3. Launch app, login
4. Launch iOS Mail app
5. Create a new email, long press and choose "Add Attachment"
6. Choose app Location
7. Select any file, it will download and fail to attach



Expected Results:
On an iPhone running iOS 9.2.1 with out the app installed:
1. Reboot the phon
2. Install app
3. Launch app, login
4. Launch iOS Mail app
5. Create a new email, long press and choose "Add Attachment"
6. Choose app Location
7. Select any file, it will download and file is attached to email



Actual Results:
See the following error in the log:
 fileproviderd[31] <Warning>: Communications error: <OS_xpc_dictionary: <dictionary: 0x126d26e60> { count = 2, contents =
      "errorcode" => <uint64: 0x126d291d0>: 4
      "error" => <string: 0x126d2b370> { length = 128, contents = "cannot obtain executable path for plug-in DocumentPickerFileProvider(67EC5411-4C98-4A20-8E05-3E0161C3D523)" }
   }>

The DocumentPicker is unable to get the documentStorageURL from the FileProvider.

Version:
iOS 9.2.1

Notes:


Configuration:
iPhone 6, iPhone 6s

This looks like a similar issue:
https://issues.labcollab.net/browse/CDALL-27675

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!