我创建了项目,当我尝试运行项目时出现以下错误,构建失败。
ld: file not found: /Users/mohammad/Library/Developer/Xcode/DerivedData/SPA-clncipsgigcqmgaourubdrurgfyz/Build/Products/Debug-iphonesimulator/SPA.app/SPA
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何建议。
答案 0 :(得分:-1)
当我遇到这种类型的错误时,我从以下路径中删除了派生数据文件夹:
/Library/Developer/Xcode/DerivedData
请参阅此链接以获取更多帮助
How can I safely delete in my ~/Library/Developer/Xcode/DerivedData directory?