iGatiTech
iGatiTech

Reputation: 2268

CocoaPods integration

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) enter image description here. Don't know what I have done wrong.

Any help is really appreciable. Thanks in advance!

Upvotes: 0

Views: 95

Answers (1)

Amit Singh
Amit Singh

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.

enter image description here

Alternatively you can set Architectures to armv7 armv7s.

Upvotes: 1

Related Questions