天天看點

XCode10.2.1打開老工程報Multiple commands produce與Info.plis錯誤

error: Multiple commands produce '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/NingApartment-bdrwajakrzfomccqdfolxqufkvbp/Build/Products/Debug-iphonesimulator/MGBaseKit.framework/Info.plist':
1) Target 'MGBaseKit' (project 'MGBaseKit') has copy command from '/Users/jiaguoshang/Desktop/ningchao/ios/MGBaseKit/MGBaseKit/Info.plist' to '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/NingApartment-bdrwajakrzfomccqdfolxqufkvbp/Build/Products/Debug-iphonesimulator/MGBaseKit.framework/Info.plist'
2) Target 'MGBaseKit' (project 'MGBaseKit') has process command with output '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/NingApartment-bdrwajakrzfomccqdfolxqufkvbp/Build/Products/Debug-iphonesimulator/MGBaseKit.framework/Info.plist'
解決方案:
           

選擇 xcode -> File -> Project Settings

XCode10.2.1打開老工程報Multiple commands produce與Info.plis錯誤

Shared Project Settings: Build System選擇Legacy Build System點選Done

XCode10.2.1打開老工程報Multiple commands produce與Info.plis錯誤

最後編譯通過

繼續閱讀