最近在做 通过Xcode做一个壳 上架HBuilder编写的H5代码
当我导入某个框架是 一直报同一个错误:ld: 207 duplicate symbols for architecture i386
百度了很久 百度上很多网友都说是文件重名了 我找了半个小时 不可能啊 总共也没几个文件
于是文件重名方式被我否认了
最后在stackoverflow上发现了一个答案
Finally I
find out the reason of this error cause I added -ObjC
to
the Other
Linker Flags
. After remove this value then I can build my project successfully, but I don't know why. Can anyone explain this?
于是我在 other linker flags 中把添加的-Objc去掉 就可以了
说实话 我也不知道是为什么 总归是发现了问题吧