Xcode 10 Multiple plist问题
2018-08-31 本文已影响60人
swift_honor
使用版本:Xcode 10-beta版
之前xcode 10一直使用正常,今天私有的RepoSpec更新了WeChat支付的功能后,就遇到了这个问题,具体问题详情如下:
Showing Recent Messages
:-1: Multiple commands produce '/Users/xx/Library/Developer/Xcode/DerivedData/xx-ddezoapfwmtmspafxwnoqjxkmfny/Build/Products/Debug-iphoneos/xx.app/Info.plist':
- Target 'xx' (project 'IntelCab') has copy command from '/Users/xx/Desktop/Project/TiKa/master/xx/IntelCab/SupportingFiles/Info.plist' to '/Users/xx/Library/Developer/Xcode/DerivedData/xx-ddezoapfwmtmspafxwnoqjxkmfny/Build/Products/Debug-iphoneos/xx.app/Info.plist'
- Target 'xx' (project 'xx') has process command with output '/Users/xx/Library/Developer/Xcode/DerivedData/xx-ddezoapfwmtmspafxwnoqjxkmfny/Build/Products/Debug-iphoneos/xx.app/Info.plist'
![](https://img.haomeiwen.com/i8280836/ad2eb20924b07b50.png)
解决方法
In Xcode, go to File -> Project/Workspace settings.
-> Build System 选择 Legacy Build System
![](https://img.haomeiwen.com/i8280836/2496b2f8708579fb.png)
![](https://img.haomeiwen.com/i8280836/3e12a3bdc9eeb0d5.png)
![](https://img.haomeiwen.com/i8280836/370143fbc2bf5eca.png)