library not found for -lPods-AFNetworking

前端 未结 7 2019
忘了有多久
忘了有多久 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:37

    I was facing the same problem and following solution worked for me:

    1. Go to project setting -> build setting -> other linker flag, and remove all flags that have -lpod or frameworks or related to pods. Don't remove the required flags (e.g. -ObjC, -licucore, -libxml2)
    2. Add a flag $(inherited) at the top.
    3. Clean the project and compile.

提交回复
热议问题