Open modimoni opened 5 years ago
Hi @modimoni
I can't replicate what you describe. Could you confirm this is still an issue ?
Also, I can tell you that what you describe it's reminds me about a change (On how Cordova and the pods interact). If you want, you could try the compatibility/plugin-xml-pod
branch.
Edit: nevermind, I replicated the problem and as I told you, is solve in the compatibility/plugin-xml-pod
, the tricky part it's need Cordova 9.x (Because a change in the config.xml) I think (not sure yet) that is about the import of the underlying framework SSZipArchive
that before was imported as ZipArchive
. I will release a major version (2.x) with the merged fix and leave the 1.x version with the hope of make it work for Cordova 7.x and 8.x in the near future
Hi
I ahve been trying to add the plugin to my project and it only builds for Android. For iOS it give and error
XXXXXXX/hybrid/platforms/ios/MyApp/Plugins/com.jjdltc.cordova.plugin.zip/JJzip.m:9:9: fatal error: 'ZipArchive/SSZipArchive.h' file not found
import <ZipArchive/SSZipArchive.h>
1 error generated.
.... The following build commands failed: CompileC /Users/XXXXXX/Library/Developer/Xcode/DerivedData/MyApp-awompgbhbskritdkeavdnhcvcqfi/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/JJzip-5e71a48b0beedd86bac8f497e7a83247409e400f46761bdfeb1f8122777f7844.o /XXXXXXXXX/MyApp/hybrid/platforms/ios/MyApp/Plugins/com.jjdltc.cordova.plugin.zip/JJzip.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) xcodebuild: Command failed with exit code 65
I am using cordova 8.1.2 ios@5.0.1 Xcode 11.0
Thanks Modi