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

Optimize the code #149

Open
wants to merge 100 commits into
base: bugfix/issue74
Choose a base branch
from
Open

Optimize the code #149

wants to merge 100 commits into from

Conversation

MarcSteven
Copy link

Refactor the code ,remove unreleased code out of zip class

marmelroy and others added 30 commits March 15, 2017 06:08
unzip file handler support
…ation

Add fwrite() and uncompressed_size validation
Enables zipping of directory contents, i.e. not including root directory in zip.
Equivalent to user cd'ing into directory and zipping.

Functionality left as default, but logic is now there to enable above by either toggling boolean, or modifying other functions to enable toggling per call.

Also, expandDirectoryFilePath function comment changed. It's not a recursive function :)
Fix Swift 4 string compiler deprecation warning.
Added includeRootDirectory logic.
Documents directory doesn't exist for tvOS device.
After upgrading to Xcode 9.3, I get the following error:
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/chris/Library/Developer/CoreSimulator/Devices/.../data/Containers/Bundle/Application/.../RE-vibe.app/Frameworks/Zip.framework/Zip
  Reason: image not found

I have tried several different approaches, but none have fixed the issue. I suspect the the swift version for this package needs to be upgraded to match Xcode 9.3's version.
ffried and others added 30 commits May 7, 2019 15:15
Add Swift Package Manager support
Progress block being called twice with 1.0 fixed
Enable module stability support to allow build as binary release
and used for different version of Xcode, it can save app build time.

see more on https://swift.org/blog/library-evolution/
Enable Module Stability and Adds script to build xcframework
…versal_vulnerability

Protect against extracting files outside the destination directory.
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

Successfully merging this pull request may close these issues.