Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Swift dynamic frameworks #38

Open
alan-ren opened this issue May 4, 2021 · 2 comments
Open

Compatibility with Swift dynamic frameworks #38

alan-ren opened this issue May 4, 2021 · 2 comments

Comments

@alan-ren
Copy link

alan-ren commented May 4, 2021

Will this library be updated so that it's compatible with CocoaPods projects that rely on use_frameworks!? Currently, it fails to pass the pod install step due to the following error:

[!] The 'Pods-Project' target has transitive dependencies that include statically linked binaries: 
(/SRCROOT/ios/Pods/AgoraRtm_iOS/AgoraRtmKit.framework)

In comparison, the react-native-agora library which exposes the RTC SDK works fine. Currently, the Agora developer blog recommends using the RTM SDK alongside the RTC SDK because the former supports methods to track chat room membership. However, this implementation is unfeasible on React Native for projects that rely on use_frameworks!. Since both projects seem to share maintainers, I figured I'd ask. Thanks for all your hard work!

@LichKing-2234
Copy link
Contributor

There are no differences between the podfile of react-native-agora and agora-react-native-rtm.

@alan-ren
Copy link
Author

alan-ren commented May 7, 2021

I think the issue is that AgoraRtmKit.framework is a transitive dependency for agora-react-native-rtm and not react-native-agora. However, feel free to close this issue — I ended up changing my project to avoid using use_frameworks! and thus am able to include statically linked binaries now with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants