We have a standalone video playback app, in which we have Chromecast working fine. Now we are trying to convert this app as a framework and add it in the parent app. While building framework, reference error pops up. If I comment out the code in RNGoogleCast.m, where these classes [see attached image] are referenced then the framework builds successfully and works fine with parent app. With commented code, I don't see the chromecast button while playing video.
In Build Setting of Framework, other linker flags set to -ObjC. If I remove it or keep the same value as an app, then frameworks build successfully but don't work with the parent app.
Please let me know if you need more information from the app or framework.
Can someone help me to get rid of these errors and get the chromecast button enabled while playing video?
Also, raised issue here: https://github.com/react-native-google-cast/react-native-google-cast/issues/126