When i try to build the project i get the following error
I know it has something to do with the imports just can't figure out which.
Undefined symbols for architecture x86_64:
"_crc32", referenced from:
_zipWriteInFileInZip in zip-E26E9335CB84AC5A.o
_unzReadCurrentFile in unzip.o
"_deflate", referenced from:
_zipWriteInFileInZip in zip-E26E9335CB84AC5A.o
_zipCloseFileInZipRaw64 in zip-E26E9335CB84AC5A.o
"_deflateEnd", referenced from:
_zipCloseFileInZipRaw64 in zip-E26E9335CB84AC5A.o
"_deflateInit2_", referenced from:
_zipOpenNewFileInZip4_64 in zip-E26E9335CB84AC5A.o
"_get_crc_table", referenced from:
_zipOpenNewFileInZip4_64 in zip-E26E9335CB84AC5A.o
_unzOpenCurrentFile3 in unzip.o
"_inflate", referenced from:
_unzReadCurrentFile in unzip.o
"_inflateEnd", referenced from:
_unzCloseCurrentFile in unzip.o
"_inflateInit2_", referenced from:
_unzOpenCurrentFile3 in unzip.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Found out the library that was causing the issue. it was zlib.h to fix it I added -lz to the Other Linker Flags which can be found under Build Setings -> Linker Setting
When i try to build the project i get the following error I know it has something to do with the imports just can't figure out which.