adamgliea
adamgliea

Reputation: 161

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

Upvotes: 0

Views: 1900

Answers (1)

jtbandes
jtbandes

Reputation: 118691

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.

Upvotes: 1

Related Questions