MacOS Sierra only: library not found for -lAFNetworking

when creating on macOS Sierra, I get an error

ld: library not found for -lAFNetworking

At El Capitan, everything works fine. I tried different versions of Xcode on Sierra 7 and 8 - both times the same errors. Does anyone know what the reason is?

+4
source share
1 answer

May be:

  • Fixed its renaming of the linker to Link Binary in the Frameworks group.

  • Delete path other than "$ inherited".

    Create a new folder called “Library” using Finder in the root folder of the project (with AFNetworking files), and then drag the folder into the “Library Path” window. Close Xcode now and open, clean and build again!

  • , Build Active Architect / . yes .

0

Source: https://habr.com/ru/post/1656382/


All Articles