File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,19 @@ three different optimization levels:
3333
3434In the Xcode UI, one can modify the current optimization level as follows:
3535
36- For the whole project,
37- Select project in `project and targets list `, then add `-Ounchecked ` in `Other Swift Flags ` under `Swift Compiler - Custom Flags `.
38-
39- For a single target, process is the same except you select desired target in `project and targets list `.
40-
36+ In the Project Navigator, select the project icon to enter the Project Editor.
37+ In the project editor, select the icon under the "Project" header to enter
38+ the project settings editor. From there, an optimization setting can be applied
39+ to every target in the project by changing the "Optimization Level" field under
40+ the "Build Settings" header.
41+
42+ To apply a custom optimization level to a particular target, select that target
43+ under the "Targets" header in the Project Editor and override the
44+ "Optimization Level" field under its "Build Settings" header.
45+
46+ If a given optimization level is not available in the UI, its corresponding flag
47+ can be manually specified by selecting the ``Other... `` level in
48+ the "Optimization Level" dropdown.
4149
4250Whole Module Optimizations (WMO)
4351================================
You can’t perform that action at this time.
0 commit comments