Skip to content

Commit e927b55

Browse files
own2pwnCodaFi
authored andcommitted
Add steps to enable -Ounchecked compiler flag
1 parent a07b35a commit e927b55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/OptimizationTips.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ three different optimization levels:
3333

3434
In the Xcode UI, one can modify the current optimization level as follows:
3535

36-
...
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`.
3740

3841

3942
Whole Module Optimizations (WMO)

0 commit comments

Comments
 (0)