Objective-Zip
Objective-Zip copied to clipboard
Error reading in the zipfile in iOS 7.1 on device
Hi,
I'm using ObjectiveZip since a while under iOS 6.1 and iOS 7.0 on simulator and device. But I experienced something weird since iOS 7.1.
I'm zipping a file with a password with the simulator, then I upload it on a server and then I get it back with the application on the device. And since my device is in iOS 7.1, the app crashes into the "readDataWithBuffer" method and I have the error message : "Error reading '%@' in the zipfile"
I didn't change a single line of code since then.
After that, I tried to go further and I remove the password protection on the zip file and it works well. Is there something in the encryption of the zip file with password ince iOS 7.1 ?
Thanks for your answer
Try to use https://github.com/soffes/ssziparchive Its simple and works well in all scenario
when change the code in crypt.h, the problem fixed #define CRC32(c, b) ((*(get_crc_table()+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))