-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uncompressed_size is not right #685
Labels
Comments
Maybe there are symlinks in the archive? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
NSNumber *wantedFileSize = [SSZipArchive payloadSizeForArchiveAtPath:path error:&error];
Expected behavior
Value of wantedFileSize is the uncompressed size (4.5GB)
Actual behavior
Value of wantedFileSize is just 928MB
Version of ZipArchive
Tested in
2.2.0
and2.5.4
Environmental information
iPhone XS (iOS 16.3.1)
iPhone 14 Pro Max (iOS 16.1)
PS: I checked function
payloadSizeForArchiveAtPath
and can be sure that the issue is fromfileInfo.uncompressed_size
as it is showing that same value 928MB (9726543314)The text was updated successfully, but these errors were encountered: