-1

When I add AFDownloadRequestOperation I get several errors that result in the inability for me to successfully build my project...

These errors all seem to be of a redeclaration nature. My first mind is to go into the files that display the error and individually delete the other declarations.

But I figured that it may cause more errors and/or not be the best method to resolve my issue. Is anyone familiar with this issue?

I have attached a screenshot of what I see.

nickhar
  • 19,981
  • 12
  • 60
  • 73
davetw12
  • 1,815
  • 2
  • 20
  • 27

1 Answers1

1

My best guess is that Xcode is complaining about there being multiple files in the project that declare the @interface for AFDownloadRequestOperation. Note that AFDownloadRequestOperation has never been a part of the standard AFNetworking library, so I would suggest that you make sure that you are using the most up-to-date version of the canonical source available.

You may find CocoaPods to be helpful for managing your dependencies, as an alternative to manually adding source files to your project.

mattt
  • 19,544
  • 7
  • 73
  • 84