flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.34k stars 27.53k forks source link

[interactive_media_ads] Add Swift Package Manager compatibility to interactive_media_ads #146906

Closed vashworth closed 5 months ago

vashworth commented 7 months ago

Prerequisites:


Follow "Converting an existing Swift Flutter Plugin to a Swift Package" instructions to make interactive_media_ads plugin compatible with Swift Package Manager and CocoaPods.

To validate all is working, run the following commands

// Disable swift package manager
flutter config --no-enable-swift-package-manager

// Build example with CocoaPods
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --packages=interactive_media_ads

// Build example with swift package manager
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --swift-package-manager --packages=interactive_media_ads

// Run native tests
dart run script/tool/bin/flutter_plugin_tools.dart native-test --ios --packages=interactive_media_ads
github-actions[bot] commented 5 months ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.