Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to unzip file: calabash.framework.zip #682
All working fine for me before, but (I think) until 0.12.1 I got this error
PIs-Mac-mini-2:todoSwift pirsquaremacmini3$ ls README.md SingleTodo SingleTodo.xcodeproj build.sh PIs-Mac-mini-2:todoSwift pirsquaremacmini3$ calabash-ios setup Checking if Xcode is running... Found Project: SingleTodo ----------Info---------- error: cannot delete old ./calabash.framework/Headers error: cannot delete old ./calabash.framework/Resources error: cannot delete old ./calabash.framework/Versions/0.12.0 error: cannot delete old ./calabash.framework/Versions/Current caution: excluded filename not matched: __MACOSX/* caution: excluded filename not matched: calabash.framework/.DS_Store ----------Error---------- Unable to unzip file: /usr/local/lib/ruby/gems/2.2.0/gems/calabash-cucumber-0.12.1/bin/../staticlib/calabash.framework.zip You must install manually. ---------------------------
All ruby gems and else is update to present version.
seem like v0.12.1 calabash.framework.zip is broken and just can't extract
my temporary workaround for now is manually replace older version e.g. 0.12.0
$ gem install calabash-cucumber -v "=0.12.0"
and it will working like usual
Also reported on the forum: https://groups.google.com/forum/#!topic/calabash-ios/Igc7G58Msy4
I will have a permanent solution by COB today.
Calabash iOS 0.12.1 was a gem-only release; there was not change in the server. If you have already installed the 0.12.0 server, there is no need to update. Put another way, for this release you don't need to run
If you are using git and your calabash.framework is under version control:
Using bundler (Recommended)
I was able to reproduce, but I don't have a cause. The problem is that unzip is failing.
Nothing has changed in the way we build the calabash.framework or archive the calabash.framework.zip.
Locally, I cannot reproduce the behavior when I run the
I am going to chalk this up to a corrupt .zip file.
hit "No to All" to continue and rezip extracted folder (so now we get good zip) and replace it to
seem to be working on me (another work around for me)