ios - ld : truncated fat file

标签 ios compiler-errors

我在尝试运行使用 NinevehGL 框架的 XCODE 应用程序时发现了这些错误:

ld: truncated fat file. Slice from 1478656 to 2279616 is past end of file with length 2270604 file './NinevehGL.framework/NinevehGL' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我真的不知道问题是什么以及如何解决此类错误我没有找到任何处理此类问题的文档。

最佳答案

我在我的一个项目中遇到了类似的错误:

ld: truncated fat file. Slice from 1067056 to 2127456 is past end of file with length 770048 file '/Users/jenkins-slave-pepper/workspace/iosbuild/App/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID' for architecture armv7

解决方案是清除 pod 缓存并重新下载所有内容。

rm -rf ~/Library/Caches/CocoaPods
rm -rf `pwd`/Pods/
pod update

关于ios - ld : truncated fat file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39162804/

相关文章:

ios - 发送某人的 Xcode 项目

tomcat - Servlet 5.0 JAR 在 javax.servlet.* 上引发编译错误,但 Servlet 4.0 JAR 不会

compiler-errors - 编译FFT时使用“Undefined Reference…”(使用FFTW3库)

ios - CGAffineTransformMakeRotation 不调整 iOS 6 中的 View 大小

模板类中结构的 C++ 编译器问题

加载动态组件时 Angular 4 AOT 编译错误 : Runtime compiler is not loaded

xml - 访问AS3中XML对象的可能未定义的属性?

c# - 如何使用对话框/提要 javascript 在 Facebook 的描述字段中添加 URL?

iphone - copyItemAtPath 在模拟器上工作但在设备上失败

iphone - ASIHTTPRequest 将响应数据转换为 NSArray