Skip to content

flutter build ios-framework --cocoapods crashes: "NoSuchMethodError: The method 'getLicenseFile' was called on null. #50364

@jmagman

Description

@jmagman

#50205 (comment)

I try to run with flutter version: v1.14.6 in channel beta but I receive this error:

[✓] Flutter (Channel beta, v1.14.6, on Mac OS X 10.14.6 18G2022, locale en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[✓] Connected device (1 available)
flutter build ios-framework --cocoapods
Building frameworks for com.example.app in debug mode...
 ├─Creating Flutter.podspec...                                       2ms

Oops; flutter has exited unexpectedly: "NoSuchMethodError: The method 'getLicenseFile' was called on null.
Receiver: null
Tried calling: getLicenseFile()".

Metadata

Metadata

Assignees

Labels

a: existing-appsIntegration with existing apps via the add-to-app flowplatform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions