0

我想存档我的申请以提交/上传以进行更新。When I'm selecting iOS simulator I have no errors and the project is running, however, when selecting iOS device and then Archive, I have an error in #include <CoreFoundation/CoreFoundation.h> 'CoreFoundation/CoreFoundation.h' file not found I tried to remove and then re-insert CoreFoundation and nothing helps. 你以前遇到过这个问题吗?我还注意到框架是红色的,搜索时找不到CoreFoundation。感谢您的帮助

4

1 回答 1

1

尝试将以下内容添加到 .pch 文件中:

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <CoreFoundation/CoreFoundation.h>
#endif

这将使基金会对整个项目可见。

祝你好运

于 2013-09-01T17:47:46.587 回答