XCode 4存档错误:找到一个或多个PCH文件,但它们无效 [英] XCode 4 Archiving Error: one or more PCH files were found, but they were invalid

查看:148
本文介绍了XCode 4存档错误:找到一个或多个PCH文件,但它们无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此处记录奇怪的XCode 4错误以供将来参考:

Documenting an odd XCode 4 Error here for future reference:

找到一个或多个PCH文件,但它们无效"

"one or more PCH files were found, but they were invalid"

清洁不能解决问题,您需要通过按住ALT并从菜单中选择产品"来清洁Build文件夹.现在,清除"条目将更改为清除构建文件夹",它将清除错误的PCH重复项并进行编译而不会出现错误.

Cleaning does not fix the issue, you need to clean the Build Folder by holding down ALT and selecting Product from the menu. The "Clean" entry will now have changed to "Clean Build Folder" which will wipe the bad PCH duplicates and compile without errors.

推荐答案

我必须阅读几次以了解正在发生的事情.原始海报回答了他自己的问题.要解决:

I had to read this a few times to get what was going on. The original poster answered his own question. To fix:

通过按住ALT并从菜单中选择产品"来清洁Build文件夹.现在,清除"条目将更改为清除构建文件夹",它将清除错误的PCH重复项并进行编译而不会出现错误.

Clean the Build Folder by holding down ALT and selecting Product from the menu. The "Clean" entry will now have changed to "Clean Build Folder" which will wipe the bad PCH duplicates and compile without errors.

这篇关于XCode 4存档错误:找到一个或多个PCH文件,但它们无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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