splitio / ios-client

iOS SDK client for Split Software
https://split.io
Other
11 stars 18 forks source link

Git repository is very large for SPM #450

Closed SajjadKharrazi closed 1 year ago

SajjadKharrazi commented 1 year ago

When we want to download or update you package with SPM, it takes too long as you can see:

image

I'm not sure but i think your package size is about 30MB and it is large for this SDK

I think you should have an approach like these SDKs to reduce downloading time https://github.com/airbnb/lottie-ios/discussions/1807 https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/issues/1053

hbqdev commented 1 year ago

hi @SajjadKharrazi We are checking this with our dev team and will get back to you.

Regards,

hbqdev commented 1 year ago

hi @SajjadKharrazi We are sorry for this inconvenience. We understand your concern and after some digging we found testing resources files to be the largest contributors to the SPM download size. To our understanding, this is only affecting the time taking to download the package but there is no impact on app bundle size since is not included there. We are taking this as RFE to evaluate approaches to keep a reduced SDK size without affecting testing coverage.

Regards