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.
My best guess is that Xcode is complaining about there being multiple files in the project that declare the
@interfaceforAFDownloadRequestOperation. Note thatAFDownloadRequestOperationhas 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.