一般是 other linker flags 设置问题
一般是多人开发,增加删减 新的库的时候,会出现这种问题。我遇到这种问题是因为, other Linker flags 被设置为空了,只需要在bulid Setting -> other linker flags 中设置为 $(inherited) 就好了
关于 $(inherited) 的解释:
https://stackoverflow.com/questions/15343122/what-is-inherited-in-xcodes-search-path-settings