gpt4 book ai didi

iphone - 错误:Apple Mach-O Linker (Id) Warning

转载 作者:行者123 更新时间:2023-12-03 18:25:16 27 4
gpt4 key购买 nike

在我的应用程序中,我一直致力于导入和导出数据库。

我已经导入了此功能所需的一些文件,但是当我尝试在模拟器中运行该应用程序时,会出现下面列出的错误。我不明白这些是什么类型的错误。所以请帮我解决这个问题。

Undefined symbols for architecture i386:
"_inflateInit2_", referenced from:
-[NSData(NSDataExtension) gzipInflate] in NSData+CocoaDevUsersAdditions.o
"_inflate", referenced from:
-[NSData(NSDataExtension) gzipInflate] in NSData+CocoaDevUsersAdditions.o
"_inflateEnd", referenced from:
-[NSData(NSDataExtension) gzipInflate] in NSData+CocoaDevUsersAdditions.o
"_deflateInit2_", referenced from:
-[NSData(NSDataExtension) gzipDeflate] in NSData+CocoaDevUsersAdditions.o
"_deflate", referenced from:
-[NSData(NSDataExtension) gzipDeflate] in NSData+CocoaDevUsersAdditions.o
"_deflateEnd", referenced from:
-[NSData(NSDataExtension) gzipDeflate] in NSData+CocoaDevUsersAdditions.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

最佳答案

您没有包含这些函数所在的 libz.tbd。选择项目节点,选择您的目标,转到“构建阶段”选项卡,展开“将二进制文件与库链接”,添加 libz.dylib,然后重试。

关于iphone - 错误:Apple Mach-O Linker (Id) Warning,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7752127/

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