Xcode 警告:“没有处理文件的规则”和“未找到目录”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19405999/
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 04:06:58  来源:igfitidea点击:

Xcode Warning: "no rule to process file" and "Directory not found"

iosobjective-cxcodexcode5

提问by AlexR

After renaming my project folder I get the following error messages:

重命名我的项目文件夹后,我收到以下错误消息:

    Warning: no rule to process file '/Users/cs/Documents/Xcode/Prototype/Prototype/Settings.bundle' 
of type wrapper.plug-in for architecture i386

    Warning: no rule to process file '/Users/cs/Documents/Xcode/Prototype/Prototype/DDMathParser/DDMathParser.h' 
of type sourcecode.c.h for architecture i386

    Warning: no rule to process file '/Users/cs/Documents/Xcode/Prototype/Prototype/AFNetworking/AFURLConnectionOperation.h' 
of type sourcecode.c.h for architecture i386

Directory not found for option '-L"/Users/cs/Documents/Xcode/Prototype/Prototype/../../../FacebookSDK/FacebookSDK.framework"

Any idea on what might be wrong?

关于可能出什么问题的任何想法?

回答by slecorne

Concerning the 3 first warning, you may check in XCode in the "Build Phases" inside your project settings that the header files do not appear inside the "Compile Sources" list.

关于第 3 个警告,您可以在项目设置内的“构建阶段”中检查 XCode,头文件没有出现在“编译源”列表中。

enter image description here

在此处输入图片说明