Skip to content

Allow plugins to not support iOS #39659

@stuartmorgan-g

Description

@stuartmorgan-g

#10288 added a formal way to allow plugins to indicate which platforms they support, but any plugin that doesn't support iOS (as in, has no ios/ folder) will cause CocoaPods failures. This is because the Podspec uses .flutter-plugins, which isn't platform-specific and thus isn't subject to platform filtering.

When I added initial macOS plugin support I addressed this in a somewhat hacky way. While we could do the same on iOS, we should probably solve this by changing the use of .flutter-plugins instead (and update the macOS Podspec template to match). See also #39657

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listpackageflutter/packages repository. See also p: labels.toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions