升級(jí)完Xcode伐憾,編輯運(yùn)行的時(shí)候發(fā)現(xiàn)報(bào)了一些錯(cuò)誤(如下)表蝙。
問(wè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”
解決方法:我是按照這篇文章步驟做的。
問(wèn)題一: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”乾闰,將他們刪掉就行了。
問(wèn)題二: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'
解決方法:Bulid Phases —> Copy Bundle Reasources 然后找到 plist文件叠赐,將其刪掉就行了。
問(wèn)題三: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”芭概,將他們刪掉就行了。