修复ios编译错误
This commit is contained in:
parent
3b8c2deb2c
commit
d820eba0fe
@ -57,6 +57,7 @@
|
||||
|
||||
<!-- ios -->
|
||||
<platform name="ios">
|
||||
<pods-config ios-min-version="11.0" use-frameworks="true"/>
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<feature name="ZipArchive">
|
||||
<param name="ios-package" value="ZipArchivePlugin"/>
|
||||
@ -65,7 +66,7 @@
|
||||
</config-file>
|
||||
|
||||
<!-- <framework src="SSZipArchive" type="podspec" spec="~> 2.2.3" />-->
|
||||
<pod name="SSZipArchive" git="https://github.com/kitolog/ZipArchive" branch="master" />
|
||||
<pod name="SSZipArchive"/>
|
||||
|
||||
<header-file src="src/ios/ZipArchiveAdapter.h"/>
|
||||
<source-file src="src/ios/ZipArchiveAdapter.m"/>
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
// + (BOOL)createZipFileAtPath:(NSString *)path withFilesAtPaths:(NSArray<NSString *> *)paths
|
||||
int diskSize = (int) (maxSize * 1024 * 1024);
|
||||
BOOL success = [SSZipArchive createZipFileAtPath:path withFilesAtPaths:files diskSize:diskSize];
|
||||
BOOL success = [SSZipArchive createZipFileAtPath:path withFilesAtPaths:files];
|
||||
if (success) {
|
||||
NSLog(@"Success zip");
|
||||
self.zipEventHandler(path);
|
||||
|
Loading…
Reference in New Issue
Block a user