Migrate to SSZipArchive
Starting from version 2.67.0, the iOS IAPMiniProgram SDK changes the compression library from ZipArchive to SSZipArchive. For more information about this dependency, refer to Public dependencies.
To adapt to this change, super apps using ZipArchive must update their code to use the SSZipArchive methods for file compression and decompression. See the following sample code:
copy
//Import "#import <ZipArchive.h>" for SPM/Carthage, and "#import <SSZipArchive.h>" for CocoaPods.
// Create
[SSZipArchive createZipFileAtPath:zipPath withContentsOfDirectory:sampleDataPath];
// Unzip
[SSZipArchive unzipFileAtPath:zipPath toDestination:unzipPath];
For more information, refer to the official SSZipArchive documentation.