问题:
Multiple commands produce ‘/Library/Developer/Xcode/DerivedData/App-eelvbkglixbbxdfqteypnueqfvdl/Build/Products/Debug-iphoneos/XXXXApp.app/Info.plist'
- Target 'xxxxApp' (project 'xxxxxApp') has copy command from Lib/Masonry/Info.plist' to 'Library/Developer/Xcode/DerivedData/xxxxApp-eelvbkglixbbxdfqteypnueqfvdl/Build/Products/Debug-iphoneos/xxxxx.app/Info.plist''
这个错误表示项目中存在的多个info.plist文件产生了冲突,这是由于新构建系统的兼容性问题。
解决:
根据苹果官方手册可以这样解决问题(使用旧的构建系统)。
- In Xcode, go to File->Project Settings.
- Change the build system to Legacy Build system.