gpt4 book ai didi

ios - ld : truncated fat file

转载 作者:可可西里 更新时间:2023-11-01 03:51:03 27 4
gpt4 key购买 nike

我在尝试运行使用 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/

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