leavez/cocoapods-static-swift-framework

Feature Request: Per Pod override of static linking

benski opened this issue · 0 comments

I have a fairly large project with a number of pods. I have attempted to use this plugin, but ran in to duplicate symbols during linking. This is because multiple pods have included some common open source code directly in to the framework.

duplicate symbol '_OBJC_IVAR_$_GPBInt64Array._count' in:
    /Users/benski/******/Pods/Adswizz/libs/AdswizzSDK.framework/AdswizzSDK(GPBArray.o)
    /Users/benski/Library/Developer/Xcode/DerivedData/iPhone-fwdbrlygvnjovgeelnqgbhzfulll/Build/Products/Debug-iphonesimulator/Protobuf/Protobuf.framework/Protobuf(GPBArray.o)

Is it possible to override static linking for a particular pod?
e.g. , :static => false
This would be similar to how your binary plugin works.