错误信息:
Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-baoucybbxtwjnqfxscazvencqxzt/Build/Products/Test-iphoneos/xxx.app/LICENSE':
1) Target 'xxx' (project 'xxx') has copy command from '/Users/xxx/Desktop/xxx/xxx/Vendor/BMPlayer/LICENSE' to '/Users/xxx/Library/Developer/Xcode/DerivedData/TodayNews-baoucybbxtwjnqfxscazvencqxzt/Build/Products/Test-iphoneos/xxx.app/LICENSE'
2) That command depends on command in Target 'xxx' (project 'xxx'): script phase “[CP] Copy Pods Resources”
参考文章: iOS 关于Multiple commands produce 问题 IOS下XCODE10错误:Multiple commands produce解决方法 [iOS问题]- Error: Multiple commands produce 解决办法!
解决方法:
其实info.plist文件的是对的,要明白一种思路是要在Xcode–Build Phases中搜索错误的信息。 比如上面信息应该搜索: 搜索到LICENSE,直接删除即可。
没有一成不变的bug,只有一成不变的解决问题思路。
END.
|