I had a project with two goals. An object named Component, and the second is Sample. The sample used the component as a reference library. The Component then used a block called MyPod (installed with cocoapod).
The signature was written as follows:
def shared_pods pod 'MyPod' end target 'Component' do shared_pods end target 'Sample' do shared_pods end
Both goals referred to a general list of subcategories. There is no problem creating the target component, but when I create the sample, I get a duplicate of the _OBJC_METACLASS _ $ _ ClassName symbol. I changed the Subfile to:
def shared_pods
And that solves the problem. 3 hours have passed, we hope to save someone time.
Romain TAILLANDIER Jun 14 '16 at 11:30 2016-06-14 11:30
source share