trinhngocthuyen / cocoapods-spm

A CocoaPods plugin to add SPM dependencies to CocoaPods-based projects
MIT License
36 stars 7 forks source link

FIX: Corrupted json with `swift!` executable #53

Closed trinhngocthuyen closed 3 months ago

trinhngocthuyen commented 3 months ago

swift!, or Executables, combines stdout and stderr together in the output https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/executable.rb#L70.

This leads to corrupted json when dumping package info with swift package dump-package.