Created
July 20, 2025 10:47
-
-
Save IgorShcherba/5def35084874b9ac47807642d38a6aba to your computer and use it in GitHub Desktop.
There are some recommendations for Xcode build settings that could help speeding up build time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Build Active Architectures only | |
| Set **Yes** for *Debug* builds and **No** for *Release* | |
| ![[Pasted image 20250720111729.png]] | |
| # 2. Debug information format | |
| Set **DWARF** for *Debug* (should be that by default) - this disables adding dsyms (debug symbols) | |
| ![[Pasted image 20250720114714.png]] | |
| # 3. Enable bitcode | |
| Should be enabled for *Release* builds - if all linked frameworks support it - but it slows down build. Disable for debug | |
| # 4. Enable testability | |
| When enabled - the product will be built w options appropriate for running automated tests, such as making private interfaces accessible to the tests. This may result in slower builds, and slower running tests. You should test your entities through public interfaces/API so that you don't couple the tests with the implementation details. If that is tru you can set this setting to **No** even for *Debug* builds. | |
| # 5. Optimization level | |
| Leave None/No Optimization for *Debug* | |
| # 6. Compilation mode (swfit compiler) | |
| Keep *Debug* with **incremental** value and *Release* with **whole module** | |
| # 7. Dependency build Order (available through the Edit **Scheme** menu) | |
| Set To Dependecy order to have faster build time | |
| ![[Pasted image 20250720124513.png]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment