Closed jerrchen closed 9 years ago
Hi
IOS based code, ziparchive version 1.4.
Before migrating to 64bit (arm64) the code works great. After, no longer able to unzip files:
I am getting -3 (Z_DATA_ERROR) when this line is called err=inflate(&pfile_in_zip_read_info->stream,flush);
if ((err>=0) && (pfile_in_zip_read_info->stream.msg!=NULL)) err = Z_DATA_ERROR;
(lldb) po pfile_in_zip_read_info->stream.msg "invalid code lengths set"
This is works nicely until I migrate to 64bit on ios.
closed, found the solution, need to link libz1.2.5.dylib
Hi
IOS based code, ziparchive version 1.4.
Before migrating to 64bit (arm64) the code works great. After, no longer able to unzip files:
I am getting -3 (Z_DATA_ERROR) when this line is called err=inflate(&pfile_in_zip_read_info->stream,flush);
(lldb) po pfile_in_zip_read_info->stream.msg "invalid code lengths set"
This is works nicely until I migrate to 64bit on ios.