美文网首页
升级Xcode 13后报错问题记录

升级Xcode 13后报错问题记录

作者: engebei | 来源:发表于2021-11-01 10:53 被阅读0次

    Multiple commands produce '/Users/zhubo/Library/Developer/Xcode/DerivedData/ChaoYang-btztxzgsytyouafbhipltzzwgbxb/Build/Intermediates.noindex/ArchiveIntermediates/ChaoYang/InstallationBuildProductsLocation/Applications/ChaoYang.app':

    1) Target 'ChaoYang' has create directory command with output '/Users/zhubo/Library/Developer/Xcode/DerivedData/ChaoYang-btztxzgsytyouafbhipltzzwgbxb/Build/Intermediates.noindex/ArchiveIntermediates/ChaoYang/InstallationBuildProductsLocation/Applications/ChaoYang.app'

    2) That command depends on command in Target 'ChaoYang': script phase “[CP] Copy Pods Resources”

    解决方法

    根据error 日志,script phase “[CP] 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}  ,然后重新编译,OK 。

    相关文章

      网友评论

          本文标题:升级Xcode 13后报错问题记录

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