从导入语句“expected”“FILENAME”错误或< FILENAME>“ [英] Error from import statement "expected "FILENAME" or <FILENAME>"

查看:4905
本文介绍了从导入语句“expected”“FILENAME”错误或< FILENAME>“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将Appirater整合到我的应用程式时遇到问题。我已经正确添加了所有必要的文件,并有正确的代码(我想),但我得到一个错误,当尝试实现到我的AppDelegate.m文件。当我做 #importAppirater.h我得到的错误:

I am having some trouble integrating Appirater into my app. I have properly added all of the necessary files, and have the right code (I think), but I am getting an error when trying to implement it into my AppDelegate.m file. When I do #import "Appirater.h" I get the error:


预期为FILENAME或< FILENAME>

Expected "FILENAME" or <FILENAME>


推荐答案

显然,错误的引号字符引号Appirater.h已用于包装文件名。重新键入它们为直引号Appirater.h消除了错误。

Apparently the wrong quote characters, perhaps curly quotes "Appirater.h", had been used to wrap the file name. Retyping them as "straight" quotes "Appirater.h" eliminated the error.

这篇关于从导入语句“expected”“FILENAME”错误或&lt; FILENAME&gt;“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆