gpt4 book ai didi

ios - x代码错误: linker command failed with exit code 1 (use -v to see invocation)

转载 作者:行者123 更新时间:2023-11-28 21:40:15 25 4
gpt4 key购买 nike

所以我试图更改我的应用程序目录(我将我的项目移到新文件夹中)并且发生了这个错误。我试图清理并重建我的项目,重新启动 xCode 和 mac,但没有任何帮助。看起来问题是我需要在某处更新旧路径,但我不知道确切位置。

错误栈:

ld: file not found: /Users/panich/Library/Developer/Xcode/DerivedData/BuildingLoyalty-ezexzzfxemzfmsfdygvetpstlugg/Build/Products/Debug-iphoneos/BuildingLoyalty.app/BuildingLoyalty
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我的项目名称 - BuildingLoyalty。该错误还与 BuildingLoyaltyTests 有关。谢谢。

截图:

enter image description here

最佳答案

转到您的项目,然后选择您的测试目标,然后在测试下像这样清除调试和发布的值

enter image description here

关于ios - x代码错误: linker command failed with exit code 1 (use -v to see invocation),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32456319/

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