4

I know how to fix it by inserting whitespace before : , but I have it know in bunch of files after upgrade and this is not important problem for me. I am searching for it in build settings but none seems to address this.

Thank You.

Renetik
  • 5,887
  • 1
  • 47
  • 66
  • Related: http://stackoverflow.com/questions/14577478/error-after-upgrading-to-xcode-4-6-and-ios-6-1 – iDev Jan 29 '13 at 23:07

1 Answers1

7

So I found this for single file :

#pragma clang diagnostic ignored "-Wmissing-selector-name”

Name I got from here: https://github.com/eerolanguage/clang-trunk/blob/master/test/SemaObjC/warning-missing-selector-name.m

So I put it in precompiled header “Project.pch" and it works for my whole project, I am interested in nicer solution if possible, as user defined build setting for example. I tried it, but not found syntax that worked.

Renetik
  • 5,887
  • 1
  • 47
  • 66