ld: library not found for
It is compile time error for a Static Library
that is caused by Static Linker
ld: library not found for -l<Library_name>
1.You can get the error Library not found for
when you have not include a library path to the Library Search Paths(LIBRARY_SEARCH_PATHS)
ld
means Static Linker
which can not find a location of the library. As a developer you should help the linker and point the Library Search Paths
Build Settings -> Search Paths -> Library Search Paths
2.Also you can get this error if you first time open a new project (.xcodeproj
) with Cocoapods support, run pod update
. To fix it just close this project and open created a workspace instead (.xcworkspace
)
[Vocabulary]