gpt4 book ai didi

swift - 多个命令产生

转载 作者:行者123 更新时间:2023-12-05 01:06:15 25 4
gpt4 key购买 nike

我刚刚创建了一个新项目,并安装了一些 pod。当我尝试构建时,出现以下两个错误:

Showing Recent Issues
Multiple commands produce '/Users/myUser/Library/Developer/Xcode/DerivedData/Demo-eobcppugxuuucmefyvotwbqadppx/Build/Intermediates.noindex/Demo.build/Debug-iphonesimulator/Demo.build/Objects-normal/arm64/AppDelegate.stringsdata':
1) Target 'Demo' (project 'Demo') has compile command for Swift source files
2) Target 'Demo' (project 'Demo') has compile command for Swift source files


Showing Recent Issues
Multiple commands produce '/Users/myUser/Library/Developer/Xcode/DerivedData/Demo-eobcppugxuuucmefyvotwbqadppx/Build/Intermediates.noindex/Demo.build/Debug-iphonesimulator/Demo.build/Objects-normal/arm64/SceneDelegate.stringsdata':
1) Target 'Demo' (project 'Demo') has compile command for Swift source files
2) Target 'Demo' (project 'Demo') has compile command for Swift source files

最佳答案

原来我在 targets -> Build Phases 中有重复的 swift 文件,删除了重复的文件,一切正常

关于swift - 多个命令产生,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69476019/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com