[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6518":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":16,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":15,"starSnapshotCount":15,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},6518,"ZipArchive","ZipArchive\u002FZipArchive","ZipArchive is a simple utility class for zipping and unzipping files on iOS, macOS and tvOS.","",null,"C",5594,1355,150,58,0,1,4,66.3,"MIT License",false,"main",true,[24,25,26,27,28,29,30],"objective-c","objective-c-library","swift","swift-3","swift-library","unzipping-files","ziparchive","2026-06-12 04:00:29","[![CI](https:\u002F\u002Fgithub.com\u002FZipArchive\u002FZipArchive\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FZipArchive\u002FZipArchive\u002Factions?query=workflow%3ACI)\n\n# SSZipArchive\n\nZipArchive is a simple utility class for zipping and unzipping files on iOS, macOS, tvOS, watchOS and visionOS.\n\n- Unzip zip files;\n- Unzip password protected zip files;\n- Unzip AES encrypted zip files;\n- Create zip files;\n- Create large (> 4.3Gb) files;\n- Create password protected zip files;\n- Create AES encrypted zip files;\n- Choose compression level;\n- Zip-up NSData instances. (with a filename)\n\n## Version 2.5.0+ Updates Minimum OS Versions\n\nA key dependency of this project is the zlib library. zlib before version 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches according to [CVE-2018-25032](https:\u002F\u002Fnvd.nist.gov\u002Fvuln\u002Fdetail\u002Fcve-2018-25032).  \n\nzlib 1.2.12 is included in macOS 10.15+ (with latest security patches), iOS 15.5+, tvOS 15.4+, watchOS 8.4+.  **As such, these OS versions will be the new minimums as of version 2.5.0 of ZipArchive.** \n\nIf you need support for previous versions of ZipArchive for earlier OS support you can target an earlier version but know you will be using an unmaintained version of this library. \n\nWe will not support versions of ZipArchive that use dependencies with known vulnerabilities. \n\n## Alternatives\n\nKonwn popular alternatives to ZipArchive:\n* [Zip](https:\u002F\u002Fgithub.com\u002Fmarmelroy\u002FZip) from marmelroy, Swift, based on minizip-ng too.\n* [ZIPFoundation](https:\u002F\u002Fgithub.com\u002Fweichsel\u002FZIPFoundation) from weichsel, Swift, direct layer over zlib.\n\n## Installation and Setup\n\n*The main release branch is configured to support Objective-C and Swift 4+.*\n\nZipArchive works on:\n- Xcode 12 and above\n- iOS 15.5 and above\n- macOS 10.15 and above\n- tvOS 15.4 and above\n- visionOS 1.0 and above\n- watchOS 8.4 and above\n\n### CocoaPods\nIn your Podfile:  \n`pod 'SSZipArchive'`\n\nYou should define your minimum deployment target explicitly, like:\n`platform :ios, '15.5'`\n\nRecommended CocoaPods version should be at least CocoaPods 1.7.5.\n\n### SPM\nAdd a Swift Package reference to https:\u002F\u002Fgithub.com\u002FZipArchive\u002FZipArchive.git (SSZipArchive 2.5.0 and higher or master)\n\n### Carthage\nIn your Cartfile:  \n`github \"ZipArchive\u002FZipArchive\"`\n\nWe do not release a Carthage pre-built package. Developers are encouraged to build one themselves.\n\n### Manual\n\n1. Add the `SSZipArchive` and `minizip` folders to your project.\n2. Add the `libz` and `libiconv` libraries to your target.\n3. Add the `Security` framework to your target.\n4. Add the following GCC_PREPROCESSOR_DEFINITIONS: `HAVE_ARC4RANDOM_BUF HAVE_ICONV HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB ZLIB_COMPAT $(inherited)`.\n\nZipArchive requires ARC.\n\n## Usage\n\n### Objective-C\n\n```objective-c\n\n\u002F\u002FImport \"#import \u003CZipArchive.h>\" for SPM\u002FCarthage, and \"#import \u003CSSZipArchive.h>\" for CocoaPods.\n\n\u002F\u002F Create\n[SSZipArchive createZipFileAtPath:zipPath withContentsOfDirectory:sampleDataPath];\n\n\u002F\u002F Unzip\n[SSZipArchive unzipFileAtPath:zipPath toDestination:unzipPath];\n```\n\n### Swift\n\n```swift\n\u002F\u002FImport \"import ZipArchive\" for SPM\u002FCarthage, and \"import SSZipArchive\" for CocoaPods.\n\n\u002F\u002F Create\nSSZipArchive.createZipFileAtPath(zipPath, withContentsOfDirectory: sampleDataPath)\n\n\u002F\u002F Unzip\nSSZipArchive.unzipFileAtPath(zipPath, toDestination: unzipPath)\n```\n\n## License\n\nSSZipArchive is protected under the [MIT license](https:\u002F\u002Fgithub.com\u002Fsamsoffes\u002Fssziparchive\u002Fraw\u002Fmaster\u002FLICENSE) and our slightly modified version of [minizip-ng (formally minizip)](https:\u002F\u002Fgithub.com\u002Fzlib-ng\u002Fminizip-ng) 3.0.10 is licensed under the [Zlib license](https:\u002F\u002Fwww.zlib.net\u002Fzlib_license.html).\n\n## Acknowledgments\n\n* Big thanks to *aish* for creating [ZipArchive](https:\u002F\u002Fcode.google.com\u002Farchive\u002Fp\u002Fziparchive\u002F). The project that inspired SSZipArchive.\n* Thank you [@soffes](https:\u002F\u002Fgithub.com\u002Fsoffes) for the actual name of SSZipArchive.\n* Thank you [@randomsequence](https:\u002F\u002Fgithub.com\u002Frandomsequence) for implementing the creation support tech.\n* Thank you [@johnezang](https:\u002F\u002Fgithub.com\u002Fjohnezang) for all his amazing help along the way.\n* Thank you [@nmoinvaz](https:\u002F\u002Fgithub.com\u002Fnmoinvaz) for minizip-ng (formally minizip), the core of ZipArchive.\n* Thank you to [all the contributors](https:\u002F\u002Fgithub.com\u002FZipArchive\u002FZipArchive\u002Fgraphs\u002Fcontributors).\n","ZipArchive 是一个用于在 iOS、macOS 和 tvOS 等平台上压缩和解压缩文件的简单工具类。它支持多种核心功能，包括创建和解压 ZIP 文件、处理受密码保护及 AES 加密的 ZIP 文件、选择压缩级别等。此外，该项目还能够处理大数据量（超过 4.3GB）的文件，并允许用户将 NSData 实例打包成 ZIP 文件。ZipArchive 适用于需要在 Apple 平台上进行文件压缩与解压的应用开发场景，如移动应用、桌面应用程序或游戏开发中涉及到的数据管理需求。基于 C 语言编写并采用 MIT 许可证发布，确保了其广泛兼容性和自由使用性。",2,"2026-06-11 03:07:26","top_language"]