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

Slow to compile on clean build - any tips to help reduce? #22

Open
mylogon341 opened this issue Oct 20, 2023 · 0 comments
Open

Slow to compile on clean build - any tips to help reduce? #22

mylogon341 opened this issue Oct 20, 2023 · 0 comments

Comments

@mylogon341
Copy link

On a clean build, this library takes about 35 seconds to compile on an M1 MacBook Pro.

In this screenshot we can see that the first red box is the geos compile, the 2nd box is all other SPM packages, and the 3rd box is the rest of my entire app.
Screenshot 2023-10-19 at 3 20 34 pm

This wouldn't usually be a problem (especially during development with incremental builds), but considering when I'm running CI builds, it could be outputting ~10 builds a day from a clean repo pull, it can add up to substantial waiting times.

I currently pull in GeoSwiftMapKit via SPM, but I'm guessing the real issue is further upstream.
Running Xcode 15.0.1

Does anyone have any tips or tricks to try and reduce this time at all?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant