Xcode: ld: library not found for -lAFNetworking

前端 未结 13 613
野趣味
野趣味 2021-02-02 06:24

Because of this one reason, build always fails...Any ideas about what I could try?

EDIT: the solution is to open the xcworkspace instead of the xcproject!

13条回答
  •  遥遥无期
    2021-02-02 06:57

    Use the xcworkspace to build instead of the xcproject?

    This usually happens when using Cocoapods and you are building from the xcproject which doesn't know about the cocoapod libraries.

提交回复
热议问题