美文网首页
ios开发中遇到的bug

ios开发中遇到的bug

作者: 骑着蜗牛去攻城 | 来源:发表于2020-05-30 06:02 被阅读0次
  1. Multiple commands produce
error: Multiple commands produce '/Users/maxiansheng/Library/Developer/Xcode/DerivedData/PercussionProject-fwieirugahmmvdeljwhihsvrnmls/Build/Products/Debug-iphonesimulator/PercussionProject.app':
1) Target 'PercussionProject' has create directory command with output '/Users/maxiansheng/Library/Developer/Xcode/DerivedData/PercussionProject-fwieirugahmmvdeljwhihsvrnmls/Build/Products/Debug-iphonesimulator/PercussionProject.app'
2) That command depends on command in Target 'PercussionProject':          script phase “[CP] Copy Pods Resources”

错误原因:错误发生在Copy Pods Resources,而且与output有关,应该是使用了cocoapods导致的,尝试删除该项目target-Copy Pods Resources-Output Files,成功解决问题。
解决方式:

 选中项目target -> Build phase -> Copy Pods Resources -> Output Files -> 移除${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH} 重新运行即可。

相关文章

网友评论

      本文标题:ios开发中遇到的bug

      本文链接:https://www.haomeiwen.com/subject/rzoqzhtx.html