Xcode 链接器错误:对于架构 x86_64 文件太小 [英] Xcode linker error: file too small for architecture x86_64

查看:25
本文介绍了Xcode 链接器错误:对于架构 x86_64 文件太小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Xcode 中开发一个应用程序.

I'm developing an application in Xcode.

当我尝试构建时,出现此错误:

When I try to build, this error comes up:

ld: in /Users/theodore/Library/Developer/Xcode/DerivedData/Tower-bkpdifuqssebjdgurzmtirbxejnn/Build/Intermediates/Tower.build/Debug/Tower.build/Objects-normal/x86_64/TWRAppDelegate.o, file too small for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

有人知道怎么回事吗?

推荐答案

窃取@martin-baulig 的答案:

Stealing @martin-baulig's answer:

尝试完全重建/清理.之前的构建可能已异常中止,导致 TWRAppDelegate.o 文件损坏或大小为零.

Try a full rebuild / clean. It's possible that the previous build has been abnormally aborted, leaving the TWRAppDelegate.o file corrupted or zero-size.

这篇关于Xcode 链接器错误:对于架构 x86_64 文件太小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆