Skip to content
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

Archive takes to long to finish #407

Closed
luna-almeida-coding opened this issue May 22, 2020 · 3 comments
Closed

Archive takes to long to finish #407

luna-almeida-coding opened this issue May 22, 2020 · 3 comments
Labels
build issue An issue related to build process ios relates to iOS platform support Support is being requested but not a necessarily a bug

Comments

@luna-almeida-coding
Copy link

luna-almeida-coding commented May 22, 2020

Hi, this is not a issue a think, is more like a doubt.
After install firebasex using ionic 3, the size of my platform ios ( after build), increase like too must, duplice the size and the archive now takes almost a hour to finish. This is a regular behavior using this plugin?

@dpa99c
Copy link
Owner

dpa99c commented May 22, 2020

Build times are very much dependent on the power of your dev machine: my machine takes about 40 seconds to build the example project for this plugin using Xcode 11.5.

The long build time is because this plugin includes most of the various components of the Firebase SDK and each of those includes external dependencies and build tasks. The Firebase Auth and Firestore components seem to include a particularly large number hence why v9 of this plugin sees an increase in build times since it pulls in these new SDK components.

There is nothing that can be done to reduce the build time except to reduce the dependencies and build tasks by removing Firebase SDK components you don't use (as outlined in #291) but until such time as this plugin is broken down into modular components, if you choose to use it as is, you will either have to live with the build times or fork it and remove the components you don't use yourself.

@dpa99c dpa99c closed this as completed May 22, 2020
@dpa99c dpa99c added build issue An issue related to build process ios relates to iOS platform support Support is being requested but not a necessarily a bug labels May 22, 2020
@ealbinu
Copy link

ealbinu commented Jun 9, 2020

My machine takes almost 30 minutes :(

@petergrau
Copy link

We are facing the same issue. With the update from v7 to v9-cli the build times increased by ~10 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build issue An issue related to build process ios relates to iOS platform support Support is being requested but not a necessarily a bug
Projects
None yet
Development

No branches or pull requests

4 participants