The current version of xcbeautify fails to parse CodeSign lines correctly.
Step(s) to reproduce. In a modularised Xcode project (don't know if that detail matters!), xcodebuild produces output lines of shape:
CodeSign .../Widget.appex (in target 'FooWidget' from project 'Foo' at path '.../FooProject.xcodeproj')
CodeSign .../Foo.app (in target 'FooApp' from project 'Foo' at path '.../FooProject.xcodeproj')
Expected output. I would expect xcbeautify to produce output like:
This PR fixes the above, while allowing the old format without any (in target '*' ...) suffix to parse, as well. (The existing testCodesign() unit test was left as is to assert that.)
The current version of
xcbeautify
fails to parseCodeSign
lines correctly.Step(s) to reproduce. In a modularised Xcode project (don't know if that detail matters!),
xcodebuild
produces output lines of shape:Expected output. I would expect
xcbeautify
to produce output like:Actual output. Mind the special characters:
This PR fixes the above, while allowing the old format without any
(in target '*' ...)
suffix to parse, as well. (The existingtestCodesign()
unit test was left as is to assert that.)