开发者

duplicate symbol

开发者 https://www.devze.com 2023-03-30 05:43 出处:网络
I have two framework(A.framework and B.framework). B.framework link with A.framework, and I have a project,the project link With 开发者_开发问答A and B,then link error :duplicate symbol

I have two framework(A.framework and B.framework). B.framework link with A.framework, and I have a project,the project link With 开发者_开发问答A and B,then link error :duplicate symbol

how to solve the problem? thanks


The two frameworks probably define a class or function with the same name. If the libraries are yours, you should rename your symbols using prefixes as described here. If not, see this answer — you probably won't be able to work around this without changing the libraries.

0

精彩评论

暂无评论...
验证码 换一张
取 消