Multiple commands produce 問題

Bug描述

這是在Xcode10中出現的問題,提示有重複的info.plist文件。

Showing All Messages:-1: ![Pasted Graphic 1.png](https://upload-images.jianshu.io/upload_images/3363476-1fe5ae41b6d8fe7c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) '/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錯誤,但是我項目中不是這個問題導致的,下面羅列其他小夥伴的解決辦法

認爲是項目本身info.plist錯誤或者引用其他庫包含的info.plist重複錯誤的解決辦法

認爲是output錯誤的解決方法

|>我的解決方法 參考鏈接

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,需要手動導入到項目中。沒有的可以私信我要。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章