我列出了几个文件compile sources
,它不想按名称排序,所以我不得不手动对它们进行排序以查找重复项。有没有更简单的方法来做到这一点?它只有约 100 个文件,但很高兴知道一种更有效的方法。
错误示例:
...
duplicate symbol _OBJC_CLASS_$_AppDelegate in:
/Users/xxxx/Library/Developer/Xcode/DerivedData/JOMiPhoneApp-ginylosefnqdjpfprrdipmpewzun/Build/Intermediates/MyApp.build/Debug-iphoneos/MyApp.build/Objects-normal/arm64/AppDelegate-215945057A88172.o
ld: 34 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)