Skip to content

Commit

Permalink
ios build: Turn on build parallelization.
Browse files Browse the repository at this point in the history
Greg notes a lack of good documentation about this feature; there is
this a WWDC talk:
https://developer.apple.com/videos/play/wwdc2018/408/?time=115.

To paraphrase Greg at zulip#3987, it appears that the unit of
parallelization is the "target", so this could be beneficial for us
if there are a lot of targets. It turns out that there are, now that
we're using CocoaPods. In the Xcode UI, the Pods project shows many
items under "Targets": one for each line in the Podfile.

So, enable it, with a plan to disable if we ever encounter errors
that can be traced to an attempt to build two things in parallel,
when they shouldn't be.

The speed increase will be strongly influenced by the number of
cores one's CPU has.
  • Loading branch information
Chris Bobbe committed Mar 30, 2020
1 parent fcba9c1 commit b7417d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
LastUpgradeVersion = "0940"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
Expand Down

0 comments on commit b7417d4

Please sign in to comment.