在文件中包含 Xcode 中的警告(Objective-C 项目)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46092646/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:13:16  来源:igfitidea点击:

In file included warnings in Xcode (Objective-C project)

iosxcode

提问by Neko

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

我收到了很多警告,例如: In file included from ...

enter image description hereenter image description hereenter 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 ?

您可以从不同的问题中看到它,但在“包含的 fi 文件”中有相同的问题,我认为这意味着我重新导入了 .h 文件?

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.

我不知道这是什么意思。我的项目中有数百个这样的警告。

回答by Sleman

set target setings CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=NO

设置目标设置 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS=NO