一、could not read data from ‘/Users/xxxx/xxxx/Info.plist’: The file “Info.plist” couldn’t be opened。
错误原因:本人将 info.plist 移动到了 其他文件夹下面。
解决办法:
1、将info.plist文件放回到原处。
2、修改工程默认的Info.plist文件路径位置。解决方法如下图所示。
二、 Multiple commands produce ‘/Users/…/Library/Developer/Xcode/DerivedData/Test-ehmelrprmcqfvbfzbpcrbivckudt/Build/Products/Debug-iphonesimulator/Test.app/Info.plist’:
- Target ‘Test’ (project ‘Test’) has copy command from ‘/Users/…/Desktop/Test/Test/Supporting Files/Info.plist’ to ‘/Users/…/Library/Developer/Xcode/DerivedData/Test-ehmelrprmcqfvbfzbpcrbivckudt/Build/Products/Debug-iphonesimulator/Test.app/Info.plist’
- Target ‘Test’ (project ‘Test’) has process command with output ‘/Users/…/Library/Developer/Xcode/DerivedData/Test-ehmelrprmcqfvbfzbpcrbivckudt/Build/Products/Debug-iphonesimulator/Test.app/Info.plist’
报错的提示很长。。。。
解决办法:
1、删除工程配置文件中 info.plist 的添加,如图所示
2、如图操作所示