You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,26 @@ Note that incremental builds with minimal changes seem to be a bit slower under
137
137
-[Developear - Speeding Up Compile Times of Swift Projects](http://developear.com/blog/2016/12/30/Speed-Swift-Compilation.html)
138
138
-[Slava Pestov on Twitter: “@iamkevb It runs one compiler job with all source files in a module instead of one job per source file”](https://twitter.com/slava_pestov/status/911747257103302656)
139
139
140
+
## Whole Module Optimization for CocoaPods
141
+
142
+
If you use CocoaPods, you should also consider enabling WMO without optimization in your `Pods` project.
143
+
To do that, you have to add the following `post_install` hook to your `Podfile`:
and then run `$ pod install`. Make sure to compare build times before and after this change to confirm there's an improvement.
159
+
140
160
# Third-party dependencies
141
161
142
162
There are two ways you can embed third-party dependencies in your projects:
@@ -205,7 +225,7 @@ Builds the app and all test targets. Runs all tests. Useful when working on code
205
225
# Use the new Xcode build system
206
226
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
227
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.
228
+
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.
0 commit comments