Reputation: 2268
I have integrated cocoapods for AFNetworking library for the very first time.
followed instructions from http://www.raywenderlich.com/64546/introduction-to-cocoapods-2 link.
My workspace created fine. I have opened workspace and not the xcode project. Still getting below 4 errors(attached screenshot) . Don't know what I have done wrong.
Any help is really appreciable. Thanks in advance!
Upvotes: 0
Views: 95
Reputation: 428
Did you update Xcode recently? If so, clean your build folder and delete the derived data. Then build your project again.
If you have set the
Target > Build Settings > Build Active Architecture Only
setting on the debug configuration. That may be the problem. Try to set it to YES. Clean and build!
Hope that helps.
Edit:
If your Architectures & Valid Architectures are all right, you may check whether you have add $(inherited) to Other Linker Flags as below.
Alternatively you can set Architectures to armv7 armv7s.
Upvotes: 1