Skip to content

pub.dev should allow symlinks in package archives #3971

@ryanheise

Description

@ryanheise

The 1st party Flutter plugin package_info uses symlinks to help maintain the identical iOS and macOS implementations of the plugin. This in turn is a technique taken from firebase_core, and was recommended to me here, since it is commonly the case that the iOS and macOS implementations will be identical. The error message I get when attempting to publish (since very recently) is:

$ flutter packages pub publish
....
Do you want to publish just_audio 0.4.1 (y/N)? y
Uploading...
Package archive contains a symlink: `ios/Classes/AudioPlayer.m`.
pub finished with exit code 1
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions