Xcode10 打开旧项目报错 Info.plist解决方案
引言:
升级了Xcode10后 打开之前的老项目编译,直接报错了, 错误如下。
# 一. 问题
/**
Showing Recent Messages
:-1: Multiple commands produce '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist':
1) Target 'spor' (project 'spor) has copy command from '/Users/apple/Downloads/NoAppNoPush/spor/External/Masonry/Info.plist' to '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist'
2) Target 'spor' (project 'spor') has process command with output '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist'
*/
# 二. 解决方案
选择 xcode -> File -> Project Seetongs.... -> Shared Project Seetings: -> Build System -> Legacy Build System ->Done
:
选择蓝色的 -> Done
-> 编译通过.