Nov*_*ile 8 xcode objective-c unzip linker-errors ios
链接器出错.
我添加了minizip文件夹&libz.tbd(Linked Frameworks&Libraries - > 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
Run Code Online (Sandbox Code Playgroud)
这背后的原因是项目=>自动引用计数:更改为否。您需要跳过那些dealloc,release,autorelease iOS sdk 5.0。或更少。
| 归档时间: |
|
| 查看次数: |
301 次 |
| 最近记录: |