Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 601
NovusMobile Avatar asked May 05 '17 14:05

NovusMobile


1 Answers

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.

like image 149
NovusMobile Avatar answered Nov 18 '22 08:11

NovusMobile