FileProvider icon indicating copy to clipboard operation
FileProvider copied to clipboard

Error after installing via Pod

Open Dirk23 opened this issue 4 years ago • 2 comments

Hi,

I added FileProvider to my App, to have an alternative to Dropbox for Filesync. After I added pod "FilesProvider" to my Podfile I ran pod update and everything seems ok:

Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing FilesProvider (0.26.0)
Generating Pods project
Integrating client project
Pod installation complete! There are 3 dependencies from the Podfile and 4 total pods installed.

When I now open the Workspace of my App, Xcode tells me that there are some Errors: Bildschirmfoto 2020-04-22 um 09 28 48

Bildschirmfoto 2020-04-22 um 09 29 28

Bildschirmfoto 2020-04-22 um 09 29 55

And I don't understand what the Problem is. Is it maybe due to Swift 5?

Dirk23 avatar Apr 22 '20 07:04 Dirk23

I've successfully add this pod to my project. My podfile looks like:

# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'

target 'myapp' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for myapp
  pod 'FilesProvider', '~> 0.26'
end

The installed version is: FilesProvider (0.26.0)

My CocoaPods gem is: pod --version returns 1.9.2

Maybe removing the pod, cleaning project and re-installing. Sometimes works for me when I've some trouble with a pod.

ghost avatar May 27 '20 14:05 ghost

@alopez-hi No, I think it is a problem with Swift5. It seems that the case .DATA_ERROR: creates some kind of custom Error in Xcode. When I change the variable Name from DATA_ERROR to DATA_ERRORS the Error Message disappeares.

Dirk23 avatar May 29 '20 09:05 Dirk23