Skip to content

flutter build ios-framework ignore plugin vendored_frameworks #72909

@Y-JunKang

Description

@Y-JunKang
flutter doctor -v
[✓] Flutter (Channel unknown, 1.22.2, on macOS 11.0.1 20B50, locale zh-Hans-CN)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] Xcode - develop for iOS and macOS (Xcode 12.2)
    ! CocoaPods 1.7.5 out of date (1.8.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your
        plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade:
        sudo gem install cocoapods
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

! Doctor found issues in 3 categories.

What I do

  1. create flutter module named MyFlutterModule

  2. create flutter plugin named MyFlutterPlugin

  3. add some vendored_frameworks in MyFlutterPlugin.podspec for example:
    image

  4. add dependency in MyFlutterModule.pubspec like:
    image

  5. flutter build ios-framework --output=./build_out

  6. there is no Masonry.framework found in build_out directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions