-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libAppboyKitLibrary.a
file size is too big for Github and increases time for creating build in CI
#264
Comments
Hey @poorvasingh04, Thanks for bringing this to our attention. We are aware of the size of our static library and have been trying different ways to keep it a reasonable size. In the meantime, can you try using a shallow clone to try to speed up the process by calling Best, |
@hokstuff you mean shallow clone all pod libraries? I don't want to do that. There are lots of issues with shallow clone. I was looking into following threads. Can you suggest something else? Is there a way to download shallow clone just AppBoy sdk? |
Hi @poorvasingh04, Apologies for the delayed response here. Are you still experiencing this issue? We distribute our SDK in a compiled binary, so it may be difficult to reduce the size directly. Do you know which particular step is taking the most time during importing? I understand that you are using Cocoapods, but we have recently released a new version to Swift Package Manager that has greatly increased import speeds. If you are interested, you can see the release here. Thanks! |
@hokstuff Is it possible to optimize the library to reduce its size. 84 MB is very big. |
@poorvasingh04 The library is that size because it is a compiled library that contains several different architectures together (simulator, device), so it is pretty limited what we can do there. When you say We are working on distributing our library using XCFrameworks soon, so that may help the issue you are experiencing depending on the answers to the previous questions. We can keep you updated about that once it is released. |
@poorvasingh04 We released version 4.0.0 that distributes our library as XCFrameworks on Cocoapods. The encapsulating XCFramework is larger but the binaries are smaller, which may affect your compile time. Please let us know the additional context about your CI setup (above) as well as if the recent changes have helped with the issues you've been seeing. Thanks! |
@hokstuff thanks for the update. Its the compilation time which is too much. I will update the library and check it again. |
Hi @poorvasingh04, Are you still experiencing this issue, or are any of the workarounds mentioned above sufficient? Best, |
@hokstuff I am still facing the issue. |
I'm closing out this issue as a dupe of our issue here because it stems from the same root cause. We are actively working on a long-term, holistic fix to this issue which will help with the cloning a large repo. Feel free to comment on that thread or contact [email protected] with further concerns - thanks! |
Report
We use cocoapods for dependency. libAppboyKitLibrary.a is very heavy (~84 MB). Though we are able to checkin to git with some warning but our CI takes a lot of time in compilation after this change. Is there a way to reduce CI time?
Describe your environment.
What did you expect to happen?
file size should be smaller so that it doesn't affect build time in CI
What happened instead?
CI time is substantially increased
The text was updated successfully, but these errors were encountered: