Fail to build project using static library


I created cocos2d-x static library and add it to my project referring to this page.
But when I build my project, I got error.

ld: library not found for -lcocos2d-x 3.9 iOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I succeeded to build project when I use v3.8,
but I failed with v3.9.
How can I solve it?

Thank you.

Adding Library Search Path $(SRCROOT)/…/cocos2d/build (where libcocos2d-x 3.9 iOS.a is) solved the problem.