ios - Can we use two header files in two separate .mm files in same project in iPhone -


i have project in have used .mm file , imported header file. works fine.

when create second .mm file , import header file in gives me linker error. says:

166 duplicate symbols architecture armv7

is there way resolve issue?

you've included same file in project twice. it's possible library (such sharekit) included you, doublecheck files sharekit includes , remove 1 copy of file , things should compile.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -