bug: File picker error on IOS (Failed to associate thumbnails for picked URL) #396
Open
5 of 31 tasks
Labels
bug/fix
Something isn't working
needs: reply
needs: reproduction
needs: triage
package: file-picker
platform: ios
iOS platform
Plugin(s)
Version
5.3.0
Platform(s)
Current behavior
File picker works fine on web and android but on IOS its throwing below error when selecting any 'image/png', 'image/jpeg', 'application/pdf' files. This error is from simulator running IOS 17 but getting the same error on real device too. I have tested it on IOS 15/16 simulators, getting the same error.
Failed to associate thumbnails for picked URL file:///Users/abhi/Library/Developer/CoreSimulator/Devices/77AADAD7-F7A5-4729-B531-0B932B65C706/data/Containers/Data/Application/CA959BDB-3282-47CD-A7AD-A38E567BF9C4/Documents/receipt_2024-12-26.pdf with the Inbox copy file:///Users/abhi/Library/Developer/CoreSimulator/Devices/77AADAD7-F7A5-4729-B531-0B932B65C706/data/Containers/Data/Application/CA959BDB-3282-47CD-A7AD-A38E567BF9C4/tmp/com.app.fitness-Inbox/receipt_2024-12-26.pdf: Error Domain=QLThumbnailErrorDomain Code=102 "(null)" UserInfo={NSUnderlyingError=0x600000ce8ae0 {Error Domain=GSLibraryErrorDomain Code=3 "Generation not found" UserInfo={NSDescription=Generation not found}}}
Expected behavior
It should select the file without any errors.
Reproduction
https://github.com/capawesome-team/capacitor-plugins/tree/main/packages/file-picker
Steps to reproduce
Other information
I have tried using @capawesome/capacitor-file-picker 6.2.0 but still got the same error.
Capacitor doctor
Latest Dependencies:
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1
Installed Dependencies:
@capacitor/cli: 5.2.3
@capacitor/core: 5.2.3
@capacitor/ios: 5.2.3
@capacitor/android: 5.2.3
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: