FileProvider icon indicating copy to clipboard operation
FileProvider copied to clipboard

iOS 11 newly introduced FileProvider framework conflict

Open amosavian opened this issue 7 years ago • 3 comments

In iOS 11 / Xcode 9.0, Apple introduced a new framework with previously existing classes as FileProvider which may cause name conflict.

To address this issue, since version 0.18.0 onward, the framework name has been changed to FilesProvider, which has an extra s to File. You must change all import statements accordingly.

  • Important: You must clear derived data before run, by holding option key and click Product -> Clean Build Folders...

  • Update project name in podfile if you're using Cocoapods

amosavian avatar Jul 01 '17 08:07 amosavian

I'm getting this error when trying to install the pod with the new name "[!] Unable to find a specification for FilesProvider" but the old name still works?

HotSauce123 avatar Jul 02 '17 01:07 HotSauce123

@HotSauce123 you should remove FileProvider from your pods and install the new library pod install FilesProvider

amosavian avatar Jul 02 '17 05:07 amosavian

Sorry but I have same problem : "[!] Unable to find a specification for FilesProvider" No link seems to work. Could you please provide a working example? Thanks

scricciolo avatar Oct 27 '17 09:10 scricciolo