Skip to content

Commit 5af1fca

Browse files
authored
Move "showing build times" section to the bottom
1 parent dc6dd03 commit 5af1fca

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Swift is constantly improving ❤️. For the time being, though, long compile t
1717
- [Modularization](#modularization)
1818
- [XIBs](#xibs)
1919
- [Xcode Schemes](#xcode-schemes)
20-
- [Showing build times in Xcode](#showing-build-times-in-xcode)
2120
- [Use the new Xcode build system](#use-the-new-xcode-build-system)
21+
- [Showing build times in Xcode](#showing-build-times-in-xcode)
2222

2323
# Type checking of functions and expressions
2424

@@ -201,6 +201,16 @@ Builds the app and all test targets. Runs all tests. Useful when working on code
201201

202202
- [All About Schemes](http://pilky.me/17/)
203203

204+
205+
# Use the new Xcode build system
206+
In Xcode 9 Apple [quietly introduced a new build system](https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW878). This is a “preview” and is not enabled by default.
207+
It can be significantly faster than the default build system.
208+
To enable it, go to Workspace or Project Settings from the File menu in Xcode. There you can switch build systems to the new build system preview.
209+
210+
📖 Sources:
211+
212+
- [Faster Swift Builds with the New Xcode Build System](https://github.com/quellish/XcodeNewBuildSystem)
213+
204214
# Showing build times in Xcode
205215
Finally, to be able to actually know whether your build times are improving, you should enable showing them in Xcode’s UI. To do that, run this from the command line:
206216

@@ -227,12 +237,3 @@ $ time xcodebuild other params
227237
📖 Sources:
228238

229239
- [How to enable build timing in Xcode? - Stack Overflow](https://stackoverflow.com/a/2801156/1990236)
230-
231-
# Use the new Xcode build system
232-
In Xcode 9 Apple [quietly introduced a new build system](https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW878). This is a “preview” and is not enabled by default.
233-
It can be significantly faster than the default build system.
234-
To enable it, go to Workspace or Project Settings from the File menu in Xcode. There you can switch build systems to the new build system preview.
235-
236-
📖 Sources:
237-
238-
- [Faster Swift Builds with the New Xcode Build System](https://github.com/quellish/XcodeNewBuildSystem)

0 commit comments

Comments
 (0)