3

I want to disable all of the warnings (marked with yellow color) in the Swift file.
I've tried to add -w flag to Build Phases, but it doesn't work.
In Objective-C it works, but how to do that in Swift?

Evgeny Karkan
  • 8,782
  • 2
  • 32
  • 38

1 Answers1

-1

Target > Building Settings > Search "Warning" > Change Yes to No > Done

enter image description here

PowHu
  • 2,159
  • 16
  • 17