Skip to content

Defer CocoaPods dependency to as late as possible #9686

@xster

Description

@xster

Not sure I fully understand the current state of plugin tooling but somewhat related to #9580, wondering if it's possible to either

  • Have flutter create not create a Podfile for iOS
  • Have mac._runPodInstall inspect the Podfile more closely to see if any dependencies actually exist rather than check the presence of the file

And only create the CocoaPods dependency when (I don't really know the state of these):

The messaging Warning: CocoaPods version 1.0.0 or greater not installed. Skipping pod install. is a bit ambiguous as it does not state what the consequences of continuing is. (#9035)

cc @collinjackson @cbracken

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: toolingAffects the flutter_plugin_tools packageplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions