This is a migrated thread and some comments may be shown as answers.

cordova-plugin-zip

5 Answers 100 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sepehr
Top achievements
Rank 1
Sepehr asked on 19 Apr 2016, 06:53 AM

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

Sort by
0
Kaloyan
Telerik team
answered on 21 Apr 2016, 04:36 PM
Hi Sepehr,

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.

 
0
Sepehr
Top achievements
Rank 1
answered on 21 Apr 2016, 10:41 PM

Hi Kaloyan,

 

Thanks for the reply and it's attached.

 

Cheers

0
Kaloyan
Telerik team
answered on 26 Apr 2016, 12:57 PM
Hi Sepehr,

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.

 
0
Sepehr
Top achievements
Rank 1
answered on 02 Aug 2016, 02:25 AM

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

0
Kaloyan
Telerik team
answered on 04 Aug 2016, 03:55 PM
Hi 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.

 
Tags
Apple iOS
Asked by
Sepehr
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Sepehr
Top achievements
Rank 1
Share this question
or