This plugin looks to be a well none one, but when it's imported to app, it cannot be built for ios.
https://github.com/MobileChromeApps/cordova-plugin-zip
I even tested it on a blank cordova project to get sure there is no conflict between plugins. Android version was built with no problem but no chance with iOS. Does anyone can think of any reason for it?
Cheers
5 Answers, 1 is accepted
Can you share the exact build failure log in AppBuilder? It should help is a lot in identifying the reason for the faulty behavior.
Thank you for this in advance.
Regards,
Kaloyan
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
Hi Kaloyan,
Thanks for the reply and it's attached.
Cheers
The exact build error is:
Error: [xcode-build] Link /tmp/builds/vzsASztHw8HQe0MtaE/app/DerivedData/Cordova400/Build/Intermediates/Cordova400.build/Debug-iphoneos/Cordova400.build/Objects-normal/armv7/Cordova400: duplicate symbol _OBJC_IVAR_$_SSZipArchive._zip in:
I believe that this is something that you should contact the plugin authors about, but still, to assist you further you can check this stackoverflow thread on the same matter. I hope it helps.
Regards,
Kaloyan
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
Hi Kaloyan,
Sorry for the late response, I got very busy on our project and I decided to turn around this problem by going through the hard way at that time.
Back on this plugin, to check if there is a problem with plugin or not, I tested the same thing this time using Intel XDK and it built the app for me with no problem.
Is there any restriction that I should consider when I build the app with Telerik compare to other build services like Intel XDK and phonegap build?
Regards,
Sep
I am not sure how the Intel XDK platform works, but the only restriction for custom Cordova plugins in Telerik Platform we are aware of is the usage of hooks. At this stage this is disabled for a security reasons, but we plan to allow it in the near future. However, there are no hooks in the cordova-plugin-zip files.
The above said, I just tried the Cordova ZIP plugin in a new AppBuilder project, targeting Cordova 4.0.0 and was able to build it for iOS. I took the master branch, so could you please retry on your side? If this fails again, please share the name of your sample project and I will test it on my side.
I hope this helps.
Regards,
Kaloyan
Telerik by Progress
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.