-
Select your project
-
Switch to your project ‘s
Build Settingspanel. -
Search for
Other Swift Flags -
Now you may see the value of
Other Swift Flagsshows in BOLD
(BOLD also means this value is being overridden)

As the warnings showing in terminal:
Use the
$(inherited)flag, or
– Remove the build settings from the target.
You can make the compiler happy in these two ways:
Option 1:
Double click the Other Swift Flags value area and replace the value with $(inherited)
Option 2:
Select the Other Swift Flags panel to make it highlight. Then press the Delete Button in your keyboard and now the font will become THIN, instead of BOLD.