xcbeautify
xcbeautify copied to clipboard
The cause duplicate symbols is not completly displayed.
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.