0

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

adamgliea
  • 161
  • 8

1 Answers1

1

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.

Community
  • 1
  • 1
jtbandes
  • 115,675
  • 35
  • 233
  • 266