欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

XCode10.2.1打开老工程报Multiple commands produce与Info.plis错误

程序员文章站 2022-05-29 20:49:37
...
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错误
最后编译通过