We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

SfChart dll size for iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

130063 Apr 19,2017 06:36 AM Sep 18,2017 09:29 AM Xamarin.Forms 9
loading
Tags: SfChart
Pawan Jindal
Asked On April 19, 2017 06:36 AM

Hello, I am using the SfChart component in an Xamarin Forms application. As I was building a release for deployment, I realized that the iOS version has doubled in size. It is showing me that the install size will be 127 mb as compared to 62 mb before. The android version didn't change much although I am using the chart component there too. I noticed that the dll for iOS itself is quite large (70 mb).  I am concerned that users wouldn't be able to download it on a cellular network with that size. Is this expected to be this way? Do you have any suggestions to reduce this size? I only have one chart in our application.

Saravana Pandian Murugan [Syncfusion]
Replied On April 21, 2017 01:11 PM

Hi Pawan,

Thanks for using Syncfusion products.

You can change linking option to SDK Assemblies only to resolve this.

Steps to change linking option:

Properties -> iOS Build -> General -> Linker Options -> Linker behavior -> Link Framework SDks only.

Please refer the following link for more details.

iOS Linker: https://developer.xamarin.com/guides/ios/advanced_topics/linker/  

Please get back to us if you need further assistance.

Regards,
Saravana Pandian M. 


Pawan Jindal
Replied On April 21, 2017 02:10 PM

Hi Saravana,

I am already using that option. I decompressed the IPA file to check. It has the Syncfusion.SfChart.iOs.dll which is 72mb.
 

Saravana Pandian Murugan [Syncfusion]
Replied On April 25, 2017 01:57 PM

Hi Pawan, 
 
Thanks for the update. Please find the different testing scenarios below with the attached sample application. 
  
 
  
S. No  
Control 
ipa file size 
Install app size 
1.  
With Chart 
Don`t Link  - 38.2 MB 
  
Link Framework sdk`s -  15.7 MB 
Don`t Link  - 142 MB 
  
Link Framework sdk`s -  42.1 MB 
2.  
Without Chart 
Don`t Link  -  34.7 MB 
  
Link Framework sdk`s – 11.2 MB 
Don`t Link  - 128 MB 
  
Link Framework sdk`s -  37 MB 
 
  
So by default, the final application size is always higher than the actual ipa size irrespective of whether SfChart assemblies are included or not. Also, we could notice that there are no much differences in ipa with and without SfChart assemblies (refer the above table). We kindly request you to confirm whether the increase in size is solely because of SfChart. 
 
Please let us know if you need further assistance on this. 
 
Regards, 
  
Saravana Pandian M 
  


Pawan Jindal
Replied On April 25, 2017 03:06 PM

Hi Saravana,

 I have the same settings as this project but the sfchart is included in the IPA.Can you share the IPA file that was created for you for this project? I can compare the files and their sizes with my project.

Saravana Pandian Murugan [Syncfusion]
Replied On April 27, 2017 10:00 AM

Hi Pawan,

We have attached the IPA file of the sample which we provided in our previous update.

IPA file: http://www.syncfusion.com/downloads/support/forum/130063/ze/IPA_File-634075765

Note: This IPA file is generated with Link Framework SDks only linking option.

Please get back to us if you need further assistance on this.

Regards,
Saravana Pandian M.


Pawan Jindal
Replied On May 5, 2017 08:59 AM

Hi Saravana, thank you so much for sharing that IPA. I was able to resolve the issue.

best,
Pawan

Saravana Pandian Murugan [Syncfusion]
Replied On May 8, 2017 03:11 AM

Hi Pawan,

Thanks for the update. Please get back to us if you need further assistance.

Regards,
Saravana Pandian M.


Michal Severin
Replied On September 15, 2017 07:36 AM

Hello,

we have same problem. The size of the application in Store is about 150MB.

Even if we select the option:  Link Framework SDks only. (without it was about 300MB)

Is possible to get little application with Syncfusion Graphs? 


On Android the size is about 10MB.

Thank you!

Michal


Parthiban Sundaram [Syncfusion]
Replied On September 18, 2017 09:29 AM

Hi Michal,

As per your requirement, we have created a simple application with our Chart control and the size of the iPA is about 43 MB. Please download the sample from below location.

Sample: http://www.syncfusion.com/downloads/support/forum/130063/ze/Archive1958533933  

Please let us know, if you need further assistance on this.

Regards,
Parthiban S
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;