objective-c - Xcode 链接器错误 : file too small for architecture x86_64

标签 objective-c ios xcode macos cocoa

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

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

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 的回答:

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

关于objective-c - Xcode 链接器错误 : file too small for architecture x86_64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43077720/

相关文章:

ios - mapkit 委托(delegate)的异常行为

iphone - TiledMaps 和真实对象

ios - 应用程序加载器 : ERROR ITMS-90502

ios - Cocoapods 环绕一个没有 i386 架构的静态库

ios - RESTful UIButton 操作的用户体验

objective-c - cocoa 中的私有(private)方法?

objective-c - 当没有泄漏时,如何向 Clang 静态分析器弄清楚?

ios - travis 上的 Cocoapod CI 无法安装依赖项

objective-c - 在 TextView 中搜索字符串的出现

xcode - 如何在 Xcode 9 中拖放用于 xcode-ui-testing 的元素