bazel-xcode / PodToBUILD

An easy way to integrate CocoaPods into Bazel
Apache License 2.0
322 stars 69 forks source link

Error unzip pod with folder with a special character #177

Open rquesada opened 3 years ago

rquesada commented 3 years ago

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. ....