Skip to content

Error unzip pod with folder with a special character #177

@rquesada

Description

@rquesada

If I try to add a pod that a have a special character in its name (emoji o Chinese character) the command make pods or make pods_debug fail.
The issue is caused by unzip command.

Example:
https://github.com/danielgindi/Charts/
In the path:
Test/ChartsTests/Snapshots__Silicon

What did you do?

I add the following pod to Pods.WORSPACE
new_pod_repository( name = "Charts", url = "https://github.com/danielgindi/Charts/archive/refs/tags/v4.0.1.zip", )

What did you expect to happen?

The Library added correctly.

What happened instead?

I got the following error:
checkdir error: cannot create OUT/Charts-4.0.1/Tests/ChartsTests/Snapshots??+Silicon__
Illegal byte sequence
unable to process Charts-4.0.1/Tests/ChartsTests/Snapshots??+Silicon__/.
checkdir error: cannot create OUT/Charts-4.0.1/Tests/ChartsTests/Snapshots??+Silicon__
Illegal byte sequence
unable to process Charts-4.0.1/Tests/ChartsTests/Snapshots??+Silicon__/BarChartTests/.
checkdir error: cannot create OUT/Charts-4.0.1/Tests/ChartsTests/Snapshots??+Silicon__
Illegal byte sequence
unable to process Charts-4.0.1/Tests/ChartsTests/Snapshots??+Silicon__/BarChartTests/testDefaultBarDataSetLabels-iOS_390-0_844-0.1.png.
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions