gpt4 book ai didi

swift - ld : truncated fat file for manual added framework

转载 作者:行者123 更新时间:2023-11-30 12:22:04 26 4
gpt4 key购买 nike

手动添加框架时遇到问题。当我添加本手册时,我之前正在工作,但经过我所做的更改,我现在得到了。

ld: truncated fat file. Slice from 2670592 to 5510224 is past end of file with length 5505024 file '.....' for architecture x86_64

clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)

我不知道如何排序。现在使用 XCode 版本 8.3.2 (8E2002)。

最佳答案

Try to made following changes in your project:-

Include all necessary frameworks in the link phase
Remove -all_load from Other Linker Flags.
Clean the build folder and re-compiled from scratch.

This could very well be a permission issue, a corrupt iOS SDK install, or a corrupt Xcode install. I would remove /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulatorXXX.sdk, then go into Xcode > Preferences > Downloads and reinstall the iOS SDK. Then try again to clean and build your project. If you still have problems, I would consider reinstalling Xcode again.

关于swift - ld : truncated fat file for manual added framework,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44681857/

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