Xcode 常见问题记录
2019-04-19 本文已影响0人
你的代码掉了
1: Multiple commands produce '/Users/shuxia/Library/Developer/Xcode/DerivedData/BaseProjectForApp-birqtphktluqlfbqehlcahzcmqza/Build/Products/Debug-iphoneos/BaseProjectForApp.app/Info.plist':
1) Target 'BaseProjectForApp' (project 'BaseProjectForApp') has copy command from '/Users/shuxia/私人代码/个人研究/BaseProjectForApp/BaseProjectForApp/Other/Info.plist' to '/Users/shuxia/Library/Developer/Xcode/DerivedData/BaseProjectForApp-birqtphktluqlfbqehlcahzcmqza/Build/Products/Debug-iphoneos/BaseProjectForApp.app/Info.plist'
2) Target 'BaseProjectForApp' (project 'BaseProjectForApp') has process command with output '/Users/shuxia/Library/Developer/Xcode/DerivedData/BaseProjectForApp-birqtphktluqlfbqehlcahzcmqza/Build/Products/Debug-iphoneos/BaseProjectForApp.app/Info.plist'
解决办法:找到对应文件(上面说的是Info.plist) 然后去到 buildPhase 里面的Copy bundle Resource 里面 删除掉 infoPlist文件
2. Build input file cannot find @"XXXXXX"
这种直接 去link Library 里面 在引入一次就可以了