1. 程式人生 > >Xcode10 開啟舊專案報錯Multiple commands produce定位到Info.plist解決方案

Xcode10 開啟舊專案報錯Multiple commands produce定位到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  -> 編譯通過