NovusMobile NovusMobile - 5 months ago 37
iOS Question

Minizip Libz Apple Mach-O Linker (ld) Error Group

Error on linker.

enter image description here

I added minizip folder & libz.tbd (Linked Frameworks & Libraries -> libz.tdb)

I didn't get why is this getting errors on the zip extraction code.

Answer Source

I fixed issue issue with below changes : Target Project -> Basic Apple LLVM 8.1 Language c++

//:configuration = Debug
CLANG_ENABLE_OBJC_ARC = NO

//:configuration = Release
CLANG_ENABLE_OBJC_ARC = NO

//:completeSettings = some
CLANG_ENABLE_OBJC_ARC

Reason behind this is project => automatic reference counting : change to No. You need to skips those dealloc, release,autorelease iOS sdk 5.0. or less.