升級xcode 10.0之后項目出了許多的紅色錯誤

報這個錯誤就是去tagets? 里Build Phases下 [CP]copy pods Resources 刪除下面

然后又會報錯 ld: library not found for -lstdc++.6.0.9(xcode升級之后這些庫不存在,項目里添加的這庫要移除)
1>在TARGETS? ---->General ------>Linked Frameworks and Libraries 下移除libstdc++.6.0.9.tdb庫
2>在TARGETS? ---->Build Settings ------>Other Linker Flages 下移除libstdc++.6.0.9.tdb這個庫的標識鏈接
如果依賴c++6.0.9的SDK是第三方SDK,需要聯(lián)系第三方,等待第三方更新
如果是自己的文件引用了c++,請?zhí)鎿Q對c++庫的使用,重新編譯。
同時還會出現(xiàn)其他的問題,僅供參考
升級完Xcode,編輯運行的時候發(fā)現(xiàn)報了一些錯誤(如下):
問題如下:Showing Recent Messages
:-1: Multiple commands produce '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-enekjocpeavqtedhdmtdevxeaemj/Build/Products/Debug-iphonesimulator/xxx.app':
1) Target 'xxx' has create directory command with output '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-enekjocpeavqtedhdmtdevxeaemj/Build/Products/Debug-iphonesimulator/xxx.app'
2) That command depends on command in Target 'xxx': script phase “[CP] Copy Pods Resources”
解決方法:按照下面的解決步驟一步一步來。
問題一:Showing Recent Messages
:-1: Multiple commands produce '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/README.md':
1) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xxx/xxx/Classes/Other/Lib/YYCache/README.md' to '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/README.md'
2) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xx/xxx/Classes/Other/Lib/YYImage/README.md' to '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/README.md'
3) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xx/xxx/Classes/Other/Lib/YYWebImage/README.md' to '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/README.md'
解決方法:Bulid Phases —> Copy Bundle Reasources 然后找到 “YYCache/README.md”、“YYImage/README.md”和“YYWebImage/README.md”,將他們刪掉就行了。
問題二:Showing Recent Messages
:-1: Multiple commands produce '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/Info.plist':
1) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xx/xxx/Classes/Other/Lib/MDSocketRocket/Resources/Info.plist' to '/Users/xx/x/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/Info.plist'
2) Target 'xxx' (project 'xxx') has process command with output '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/Info.plist'
問題三:Showing Recent Messages
:-1: Multiple commands produce '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/LICENSE':
1) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xx/RZSJApp/Classes/Other/Lib/YYCache/LICENSE' to '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/LICENSE'
2) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xx/xxx/Classes/Other/Lib/YYImage/LICENSE' to '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/LICENSE'
3) Target 'xxx' (project 'xxx') has copy command from '/Users/xx/xx/xxx/Classes/Other/Lib/YYWebImage/LICENSE' to '/Users/xx/Library/Developer/Xcode/DerivedData/xxx-dnzktflfdnohzveyiyzjeqhgewlh/Build/Products/Debug-iphonesimulator/xxx.app/LICENSE'
解決方法:Bulid Phases —> Copy Bundle Reasources 然后找到 “YYCache/LICENSE”、“YYImage/LICENSE”和“YYWebImage/LICENSE”,將他們刪掉就行了。