Reputation: 379
I got one error when I run my app. The error is linker command failed with exit code 1 (use -v to see invocation)
.
The error shows me that there are 2 duplicate symbols for architecture x86_64.
I could not find a solution. How can I fix this?
Please help me for this issue.
Upvotes: 0
Views: 155
Reputation: 31016
It looks to me as if you have both 2.0 and 3.0 AFNetworking in your project. I don't see AFURLConnectionOperation
in the 3.0 source but your link log shows it in conflict with AFURLRequestSerialization
, which is in 3.0.
In fact, the github migration guide says:
The following classes have been removed from AFNetworking 3.0:
AFURLConnectionOperation
AFHTTPRequestOperation
AFHTTPRequestOperationManager
Upvotes: 3