Multiple commands produce 問題
Bug描述
這是在Xcode10中出現的問題,提示有重複的info.plist檔案。
Showing All Messages:-1:  '/Users/mac/Library/Developer/Xcode/DerivedData/FullAndFresh-hipctmmwmpvfxrersnhsbyiogvnq/Build/Products/Debug-iphoneos/FullAndFresh.app/Info.plist': 1) Target 'FullAndFresh' (project 'FullAndFresh') has copy command from '/Users/mac/Downloads/trunk 2/FullAndFresh/Info.plist' to '/Users/mac/Library/Developer/Xcode/DerivedData/FullAndFresh-hipctmmwmpvfxrersnhsbyiogvnq/Build/Products/Debug-iphoneos/FullAndFresh.app/Info.plist' 2) Target 'FullAndFresh' (project 'FullAndFresh') has process command with output '/Users/mac/Library/Developer/Xcode/DerivedData/FullAndFresh-hipctmmwmpvfxrersnhsbyiogvnq/Build/Products/Debug-iphoneos/FullAndFresh.app/Info.plist'
上面的這個問題看似是info.plist錯誤,但是我專案中不是這個問題導致的,下面羅列其他小夥伴的解決辦法
ofollow,noindex">認為是專案本身info.plist錯誤或者引用其他庫包含的info.plist重複錯誤的解決辦法
|>我的解決方法 參考連結
1.切換build system

Multiple commands produce.png

Pasted Graphic 1.png
2.library not found for -libstdc++.6.0.9,iOS12.0中採用libc++代替lstdc++的動態庫,刪除了原先的libstdc++.6.0.9庫,如果原先的專案沒有用到這個庫,後面需要用到,可以用libc++代替。如果原專案用到了,或者其他依賴庫用到了這個libstdc++.6.0.9,需要手動匯入到專案中。沒有的可以私信我要。