iOS ld: framework not found -xxx错误

A few days ago I encountered such a mistake after you remove Alipay SDK and ping ++ SDK
 
Screenshot 1.png
 
Screenshot 2.png
Solution
  • Into the Build Settings
  • Search OTHER LINKER FLAGS
 
Screenshot 3.png

 

-frameworkThis flag is for you with a .frameworkfile to use, so you need to find out those who do not need -frameworkthe framework, following it -frameworkremoved.
For example, I did not MJRefresh here .framework, so delete -l"MJRefresh"the following -frameworkon it.

Guess you like

Origin www.cnblogs.com/linganxiong/p/11445784.html