報(bào)錯(cuò)原因:
Multiple commands produce '/Users/wenjing/Library/Developer/Xcode/DerivedData/NIM-hkcrzzsoipvdvuddllwgxqpejhen/Build/Products/Debug-iphoneos':
- CreateBuildDirectory /Users/wenjing/Library/Developer/Xcode/DerivedData/NIM-hkcrzzsoipvdvuddllwgxqpejhen/Build/Products/Debug-iphoneos
- That command depends on command in Target 'NIMKit' (project 'NIMKit'): script phase “[CP] Copy Pods Resources”
造成原因:
構(gòu)建選項(xiàng)【New Build System】嚴(yán)格檢查引起的罚舱。
Xcode13更改后
解決:
方法一:將Build System選項(xiàng)從【New Build System】,恢復(fù)為【Legacy Build System】即可,但Xcode13 又會(huì)引起其它問(wèn)題吃度。不推薦
方法二:
在target -> Build phase > Copy Bundle Resource移除掉