xcbeautify icon indicating copy to clipboard operation
xcbeautify copied to clipboard

The cause duplicate symbols is not completly displayed.

Open blastmann opened this issue 9 months ago • 5 comments

First I use xcodebuild to build my project, duplicated symbols are displayed with full path:

ld: warning: duplicate symbol '_ZSTD_copyCCtx' in:
    /Volumes/test_result/Build/Products/DailyBuild-iphonesimulator/XCFrameworkIntermediates/Btts/libbtts.a(zstd_compress.o)
    /Volumes/est_result/Build/Products/DailyBuildiphonesimulator/XCFrameworkIntermediates/Diagnose/DefaultLogger/mars.framework/mars(zstd_compress.c.o)

I use xcbeautify to filter my xcodebuild logs like below:

set -o pipefail && xcodebuild build-for-testing -workspace xxx -quiet | xcbeautify -qq


❌ duplicate symbol '_ZSTD_copyCCtx' in
❌ duplicate symbol '_ZSTD_getCParams' in

Only symbol name is printed. That's not easy to findout where are the duplicated objects.

I think it is a bug.

blastmann avatar Sep 27 '23 08:09 blastmann