Description
Xcode Compilation Caching Now Supports Flutter iOS Builds – We’ve expanded our Xcode compilation caching feature to include xcrun, bringing intelligent caching and powerful build analytics to Flutter iOS projects.
Highlights:
- Seamless Flutter iOS Support: Bitrise now wraps both
xcodebuildandxcrun, enabling transparent compilation caching for Flutter iOS projects; no extra configuration needed. - Faster Archive Steps: Benchmarking an open-source app; Doddle (a Flutter doodle drawing game), we observed a 19–34% reduction in archive step runtime when using compilation cache.
- Powerful Build Analytics: Use Bitrise Insights, invocation details, and comparison tools to analyze your Flutter and iOS builds. Track trends and easily identify what’s impacting build performance.
- Speed to market: Whether you’re building native iOS or Flutter iOS apps, Bitrise Build Cache and analytics give your team the visibility and speed needed to ship faster with confidence.
Setup
We have Xcode and Gradle support for Flutter projects. To test them you have to select Xcode and Gradle as the build tool, not Flutter. We plan to have a complete Flutter build cache support in the future, but for now you have to configure Build Cache for Xcode and for Gradle separately for your Flutter project:
Additionally, to use caching with Flutter iOS builds, you must set the Build Cache for Xcode step’s “Silence all extra Bitrise logging” input to true. If this is not set, the toolkit may fail during your build.
Bottom line: With compilation caching and build analytics now available for Flutter iOS, you can build and iterate faster—with detailed visibility into every step of your build process.
