Skip to content
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

failed to open zip file #31

Closed
freekmurze opened this issue Oct 25, 2012 · 5 comments
Closed

failed to open zip file #31

freekmurze opened this issue Oct 25, 2012 · 5 comments

Comments

@freekmurze
Copy link

unzipping results in an error "2012-10-25 13:50:47.674 Appname[5940:c07] zip error : Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo=0x83a4f90 {NSLocalizedDescription=failed to open zip file}"
I've added libz.dylib to my project and made sure the file I want to unzip exists.

How can this be solved?

@freekmurze
Copy link
Author

I turns out to be a stupid error on my part. As input I used [zipURL absoluteString] instead of the correct [zipURL path]

@soffes
Copy link
Contributor

soffes commented Oct 25, 2012

Glad you got it

@petrapamela
Copy link

I also solve my problem..Thanks

@karapigeon
Copy link

👍

@abhiiosraz
Copy link

For the first time when I download and save the zip file, it works fine but when I run the app again then it shows below error.

Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo={NSLocalizedDescription=failed to open zip file}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants