将Xcode从v10.x更新到v11.1后,此错误无法解决。
error: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/*/Build/Products/Development-iphonesimulator/*.app/Assets.car':
1) Target 'app' (project 'app') has compile command with input '/Users/user/Desktop/app/TargetName/Images.xcassets'
2) That command depends on command in Target 'TargetName' (project 'app'): script phase “[CP] Copy Pods Resources”
我已经在构建阶段删除了outputFiles的Assets.car。然后,暂时解决问题,直到执行命令pod install
。
但是,我想要一个必要的解决方案。请告诉我。
ps)如果我执行上述分辨率,则Bitrise执行pod install
。因此,Bitrise建筑测试总是显示错误。