存档时是否发现词汇或预处理器问题文件? [英] lexical or preprocessor issue file not found occurs while archiving?

查看:103
本文介绍了存档时是否发现词汇或预处理器问题文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



<我是这个iPhone开发的新手,我几乎完成了我的第一个应用程序,但是当我尝试创建一个存档时,它会给出错误词汇或预处理的问题文件找不到但它在模拟器中运行良好,并且还在设备上进行了测试。我已经在表格视图中包含了SDwebimage架构,用于延迟加载图像。可以告诉我这是什么问题吗?

解决方案

很少有东西尝试,确保框架及其所有标题正确导入您的项目。



同样在您的构建设置 YES 设置为始终搜索用户路径,并确保用户标题路径指向框架。



最后,构建 - >清理并重新启动Xcode。



希望这会有所帮助!



UPDATE :根据SDWebImage的安装,您需要修改标题搜索路径而不是用户标题路径,如下所示。





您是否也这样做过?我建议慢慢地从头开始重新执行所有安装步骤。


I am new to this iPhone development and i have almost completed my first application but when i try for creating an archive it gives an error lexical or preprocessed issue file not found But it runs fine in simulator and also has also tested on device. I have included SDwebimage architecture for lazy loading of image in table view.Can any tell me what is the issue?

解决方案

Few things to try, Ensure the Framework and all it's headers are imported into your project properly.

Also in your Build Settings set YES to Always search user paths, and make sure your User header paths are pointing to the Framework.

Finally, Build->Clean and Restart Xcode.

Hope this helps !

UPDATE: According to SDWebImage's installation, it's required you make a modification to Header Search Path and not User header paths, As seen below.

Have you done this as well? I suggest slowly, re-doing all the installation steps from the beginning.

这篇关于存档时是否发现词汇或预处理器问题文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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