You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: