Xcode:无法链接应用程序
使用 XCode 编译我的应用程序时发生了一个新错误(我认为它发生在链接过程中),这是神秘的错误消息:
ld:找不到文件:/Users/stanislas.heili/Library/Developer/ Xcode/DerivedData/XXXXX-fauperpdaeyhczddatnqzxmedtxd/Build/Intermediates.noindex/XXXXX.build/Debug Live-iphoneos/XXXXX.build/Objects-normal/arm64/XXXXXDistribution.o
此错误中有两件奇怪的事情:
- 它只发生在我身上(该项目的其他开发人员不会遇到此问题)
- 我可以成功存档,但无法在
我尝试失败的设备上进行调试:
- 返回一些提交,我确信它在一周前曾经工作过,
- 清除 XCode 派生数据
- ,重置包管理器的缓存
- ,卸载并重新安装 XCode,
- 删除再次编码并克隆
您有什么建议吗?
I have a new error happening when compiling my app with XCode (I think it happens in the linking process), here is the cryptic error message :
ld: file not found: /Users/stanislas.heili/Library/Developer/Xcode/DerivedData/XXXXX-fauperpdaeyhczddatnqzxmedtxd/Build/Intermediates.noindex/XXXXX.build/Debug Live-iphoneos/XXXXX.build/Objects-normal/arm64/XXXXXDistribution.o
There are two strange things in this error :
- It happens only for me (the other developers that work on the project do not face this issue)
- I can archive with success but can not debug on device
I tried unsuccessfully to :
- go back a few commits to one where I am sure it used to work a week ago
- clear XCode derived data
- reset cache of the package manager
- uninstall and reinstall XCode
- delete the code and clone again
Do you have any suggestion ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
转到 Xcode -->产品->方案->编辑方案->检查您正在调试的构建配置(调试或发布)
- 更改该调试配置。
goto Xcode --> product ->scheme -> edit scheme -> check that build Configuration (Debug or Release)
you are debug - change that Debug configuration.