I got the same error with a different library:
ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation)
to solve this problem, under search paths
user header search paths
release
I put:
"$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include"
Keep in mind that I only get this error when archiving, and my archive is based on my release scheme.
update: I have the same problem (in another case / project) for the lpods
library (i.e. Cocoapods) .. the way I decided to solve this, I realized that the assembly worked fine according to my development
scheme, but not my debug
. in principle, the development
scheme was not for build active architectures only
, while debug
had the value yes. I just changed debug
to no in all targets under cocoapods
source share