gpt4 book ai didi

ios - Minizip Libz Apple Mach-O 链接器 (ld) 错误组

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

链接器错误。

enter image description here

我添加了 minizip 文件夹和 libz.tbd(链接框架和库 -> libz.tdb)

我不明白为什么这会在 zip 提取代码上出现错误。

最佳答案

我通过以下更改解决了问题: 目标项目 -> 基本 Apple LLVM 8.1 语言 c++

//:configuration = Debug
CLANG_ENABLE_OBJC_ARC = NO

//:configuration = Release
CLANG_ENABLE_OBJC_ARC = NO

//:completeSettings = some
CLANG_ENABLE_OBJC_ARC

背后的原因是项目 => 自动引用计数:更改为否。您需要跳过那些 dealloc、release、autorelease iOS sdk 5.0。或更少。

关于ios - Minizip Libz Apple Mach-O 链接器 (ld) 错误组,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43807245/

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