Showing Recent Messages
:-1: Multiple commands produce '/Users/choice2016a/Library/Developer/Xcode/DerivedData/testxcode9-gzacpjiwwgmrypddufrbybiirwof/Build/Products/Debug-iphoneos/testxcode9.app/Info.plist':
1) Target 'testxcode9' (project 'testxcode9') has copy command from '/Users/choice2016a/Desktop/test/testxcode9/testxcode9/Info.plist' to '/Users/choice2016a/Library/Developer/Xcode/DerivedData/testxcode9-gzacpjiwwgmrypddufrbybiirwof/Build/Products/Debug-iphoneos/testxcode9.app/Info.plist'
2) Target 'testxcode9' (project 'testxcode9') has process command with output '/Users/choice2016a/Library/Developer/Xcode/DerivedData/testxcode9-gzacpjiwwgmrypddufrbybiirwof/Build/Products/Debug-iphoneos/testxcode9.app/Info.plist'
解决方法,找到targets-build phases-copy bundle resources去掉错误提示中的plist文件,clean一下,重新编译即可。
本文解决了在使用Xcode进行iOS应用开发时,遇到的同一Info.plist文件被多个命令生成的问题。通过调整项目设置,移除多余的复制捆绑资源命令,并进行清理编译,可以有效解决此错误。
4678

被折叠的 条评论
为什么被折叠?



