ios項目編譯錯誤:error: Multiple commands produce 'Faun.app/Assets.car'

xcode ios 項目好久沒有打開,今天打開編譯報錯:

error: Multiple commands produce ‘/Users/zh/Library/Developer/Xcode/DerivedData/Faun-bscwtakvrelhxgbfbauoevgxfiih/Build/Products/Debug-iphonesimulator/FangShengyun.app/Assets.car’:

  1. Target ‘Faun’ (project ‘FangShengyun’) has compile command with input ‘/Volumes/dx/SVN_IOS/Optimization/Faun/Other/Assets.xcassets’
  2. That command depends on command in Target ‘FangShengyun’ (project ‘FangShengyun’): script phase “[CP] Copy Pods Resources”

在這裏插入圖片描述
該問題可能是由於App-中的多個Assets.xcassets或其他文件而引起的
在這裏插入圖片描述
解決方案->打開目標->構建階段>複製捆綁資源, 然後把Assets.xcassets刪除即可,重新編譯解決問題 。

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