library not found for -lPods-AFNetworking

前端 未结 7 2071
忘了有多久
忘了有多久 2021-01-01 16:15

I am getting the following error when using AFNetworking:

\'\'library not found for -lPods-AFNetworking\'\'
\"linker co

7条回答
  •  梦谈多话
    2021-01-01 16:48

    I had the same error while migrating my project to iOS 9. I solved it by doing this:

    1. Navigate to the Build Settings tab for your project and search for "link".
    2. In the the Other Linker Flags section, remove -l"Pods-AFNetworking" and replace it with -l"AFNetworking"

    See the screenshot linked here for more information:

    http://i.stack.imgur.com/uG51T.png

提交回复
热议问题