fastlane-community / xcov

Nice code coverage reporting without hassle
MIT License
556 stars 107 forks source link

Crash when using output directory containing spaces #163

Open FabienLydoire opened 4 years ago

FabienLydoire commented 4 years ago

Hello Team !

I wanted to reproduce what we had with Xcode 10, meaning the code coverage report in the test result bundle. I have spaces in my Xcode schemes names. Unfortunately, when calling xcov from fastlane, passing a space in the output directory path crashes the command.

Example

bundle exec fastlane run xcov workspace:"MyApp.xcworkspace" scheme:"MyApp scheme" output_directory:"fastlane/test_output/MyApp scheme.test_result.xcresult"

I can work around this, but I think that's a bug worth being reported.