美文网首页
iOS | 升级Xcode10以后,遇到的问题

iOS | 升级Xcode10以后,遇到的问题

作者: Rickie_Lambert | 来源:发表于2018-10-15 15:43 被阅读108次

    升级以后,跑项目,报了如下的错误

    Showing Recent Messages
    :-1: Multiple commands produce '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app':
    1) Target 'UniversalApp' has create directory command with output '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app'
    2) That command depends on command in Target 'UniversalApp': script phase “[CP] Copy Pods Resources”
    

    解决步骤:
    Xcode-> File->Project/Workspace settings.
    修改 the build system 为 Legacy Build system.
    使用这种方法没有报这个错误了


    报错001.png 报错002.png 报错003.png 报错004.png

    Showing Recent Messages
    :-1: Multiple commands produce '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app':

    1. Target 'UniversalApp' has create directory command with output '/Users/Admin/Library/Developer/Xcode/DerivedData/UniversalApp-agqgvsfsncufvjfgxpbofsiacwde/Build/Products/Debug-iphonesimulator/UniversalApp.app'
    2. That command depends on command in Target 'UniversalApp': script phase “[CP] Copy Pods Resources”

    参考来自更新XCode10出现问题

    相关文章

      网友评论

          本文标题:iOS | 升级Xcode10以后,遇到的问题

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