gpt4 book ai didi

ios - 链接器错误编译 PDFKit

转载 作者:行者123 更新时间:2023-11-29 13:13:54 26 4
gpt4 key购买 nike

我正在尝试整合 PSPDFKit对于我的项目中的 iOS,我还没有成功。下载Demo版后,将框架添加到我的项目中,添加所有需要的库并放置

#import <PSPDFKit/PSPDFKit.h>

在“前缀”文件上,我收到链接器错误:

ld: section __objc_const (address=0x00613EA8, size=4651232504) would make the output executable exceed available address range for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

注意:我的项目使用 PSTCollectionView并且我已经在一个测试项目上成功编译了 PSPDFKit(仅为该效果而创建)。

如果有任何帮助,我将不胜感激。提前致谢。

最佳答案

显然,您的 PCH 文件中包含的文件太多。

尝试删除其中的一些文件,并仅在您需要的地方包含这些文件,而不是全局包含这些文件。

关于ios - 链接器错误编译 PDFKit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16362062/

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