Optimize Flutter iOS Build using ccache

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • firestore-ios-sdk-frameworks

    ⚡ Precompiled Firestore iOS SDKs extracted from the Firebase iOS SDK repository release downloads for faster build times.

    Two years back, to address this issue, I found this and applied: https://github.com/invertase/firestore-ios-sdk-frameworks This helped to save 40min in the CI/CD, but It's always been painful to update firebase related dependencies. Since I have fixed the iOS SDK version, it easily introduces regression or builds fail when it doesn't match with flutter's firebase dependency.

  • flutterfire

    🔥 A collection of Firebase plugins for Flutter apps.

    For the moment, the pre-compiled SDK doesn't work with the latest flutter firebase libraries: https://github.com/firebase/flutterfire/issues/9761 So it takes an hour to build my project in GitHub action. I can't live with it!

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • ccache-action

    github action to speedup building using ccache

    Same steps as the local machine. We need to use ccache-action to install the ccache easily and let it automatically store and restore the cache: https://github.com/hendrikmuhs/ccache-action

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts