5

I have got many warnings like: In file included from ...

enter image description here enter image description here enter image description here

you can see it from different issues but the same problem in "fi file included ", I think it means I reimport the .h file ?

here is when I click in to the error file: enter image description here

and I have no idea what does it means. and there are 100s of warnings like that in my project.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Neko
  • 581
  • 1
  • 9
  • 24
  • 3
    These are warnings, not errors. – Tamás Sengel Sep 07 '17 at 09:24
  • what you did before that? Did you import any files or what action you perfomr. – Gagan_iOS Sep 07 '17 at 09:42
  • @Gagan_iOS , i import some swift file in my project , than the error shows up. – Neko Sep 07 '17 at 09:44
  • ohk..did yoy add a bridging header file in your project. Look in these links https://stackoverflow.com/questions/24206732/cant-use-swift-classes-inside-objective-c https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html – Gagan_iOS Sep 07 '17 at 09:48
  • thank you , I have import the bridging header. and my swift file works fine. I just want remove those annoying warnings , it makes the compile speed very slow – Neko Sep 07 '17 at 09:55
  • did you tried to change the compiler settings for warning under section Apple LLVM 8.1 - Warning in the Build settings of your project? – Lorenzo Sep 09 '17 at 11:12
  • @Lorenzo no, i haven't try that, can you tell me how to do it? – Neko Sep 13 '17 at 05:49

1 Answers1

1

set target setings CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=NO

Sleman
  • 71
  • 3