The release build should contain all supported architectures because one is shipped via App Store to all variety of users devices. In the development stage, we build the project either on device or simulator (active architecture). If enabled, Xcode creates a binary for the active architecture only. Build Active Architecture Only (ONLY_ACTIVE_ARCH) But it is worth checking ones for an existing project, just in case someone changed them accidentally. These settings are pre-filled by default when you create a new project. The first thing we should do is to check that our project is configured optimally for Debug configuration. Let’s dive into details! Build settings optimizations ![]() I’d split the build time optimization techniques in the following way: Using build time metrics above we can now find the most time-consuming tasks within the build process and define what can be improved. Here is the Xcode build timing summary we received for the Kickstarter iOS project: What to optimiseīefore we begin, I’d suggest getting initial build time metrics for your project. In this blog post, I’ll show you how we can resolve the Xcode build time bottlenecks and speed it up. In the previous article we’ve learned how to measure the Xcode build time and get some metrics to analyze. ![]() It is quite important to keep you build time under control and improve one if needed. The build time speedup is crucial for developers productivity and the product’s time to market. On Swift Wings All posts Tags About Xcode Build Time Optimization - Part 2.
0 Comments
Leave a Reply. |