2 different frameworks uses same framework

Hi All, I created our own framework called Framework A (which has its own Podspec and googlecast as dependency in it). I also created framework B (which has its own Podspec))and framework c (which has its own Podspec))where both uses the Framework A (using the pod). Since googlecast is dependent, it is inside Framework A, Framework B and Framework C

I am created the sampleApplication and add Framework A , Framework B and Framework C in the pod file

pod filee : pod 'framework A' pod 'Framework B' pod 'Framework C'

After pod install, While trying to run thee application I am getting this error

Class GCKUICastButton is implemented in both /private/var/containers/Bundle/Application/B4F23931-F41B-45C2-AEFA-4587C81D9474/sampleApp.app/Frameworks/Framework B.framework/framework B (0x108784a28) and /private/var/containers/Bundle/Application/B4F23931-F41B-45C2-AEFA-4587C81D9474/sampleApp.app/Frameworks/Framework C.framework/Framework C (0x1053afb18). One of the two will be used. Which one is undefined.

After this Googlecast feature are breaking like cars button icon is disappearing.

Please help me in solving this problem

@PrathibhaSundreshMediakind did you find a solution for it?

2 different frameworks uses same framework
 
 
Q