[go: up one dir, main page]

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

feat: Hybrid App iOS using Option A #2502

Open
arthurmonteiroalvesmelo opened this issue Sep 30, 2024 · 0 comments
Open

feat: Hybrid App iOS using Option A #2502

arthurmonteiroalvesmelo opened this issue Sep 30, 2024 · 0 comments

Comments

@arthurmonteiroalvesmelo

Description

Flutter can't handle common dependencies with xcframeworks. If both the host app and the Flutter module's plugin define the same pod dependency and you integrate Flutter module using this option, errors result. These errors include issues like Multiple commands produce 'CommonDependency.framework'.

To work around this issue, link every plugin source in its podspec file from the Flutter module to the host app's Podfile. Link the source instead of the plugins' xcframework framework. The next section explains how to produce that framework.

Requirements

Add the Option A support using Shorebird.

Additional Context

Datadog native-hybrid-app is an example (https://github.com/DataDog/dd-sdk-flutter/tree/develop/examples/native-hybrid-app)
of this approach using the datadog plugin in the flutter module and the datadog pod in Podfile. If you try to use datadog using the Option B or C, the error Multiple commands produce 'DatadogCore.framework will happen.

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

1 participant