ibireme / YYKit

A collection of iOS components.
MIT License
13.99k stars 3.69k forks source link

一起Pod YYKit和Texture会报错 #420

Open forkdog opened 7 years ago

forkdog commented 7 years ago
pod 'Texture'
pod 'YYKit'

错误信息: duplicate symbol __sharedDebugSetFunction in: /Users/app/Library/Developer/Xcode/DerivedData/NGood-dfjbjqrqzaucgtatchxskbszjxrl/Build/Products/Debug-iphonesimulator/Texture/libTexture.a(ASTextDebugOption.o) /Users/app/Library/Developer/Xcode/DerivedData/NGood-dfjbjqrqzaucgtatchxskbszjxrl/Build/Products/Debug-iphonesimulator/YYKit/libYYKit.a(YYTextDebugOption.o) ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

hejintaoNice commented 7 years ago

我也遇到了,还好我只用到了YYCache这一个组件,所以我单独把他抽了出来使用,这样就不会报错了

CoderDuMeng commented 6 years ago

因为Texture里面用到了 YYKit里面的YYText 组件 这个组件里面有C的静态函数所以冲突了