PrefixHeader.pch文件找不到标头 [英] PrefixHeader.pch file can't find headers
问题描述
我有一个小的前缀头文件
I have a small prefix header file
#ifndef UP_FOR_IT_PrefixHeader_pch
#define UP_FOR_IT_PrefixHeader_pch
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <Parse/Parse.h>
#import "ABConstants.h"
#import "ABCache.h"
#endif
#endif
找不到Parse.h。我从链接二进制文件链接到库
一切似乎都正确,但无论我尝试过它都不会编译。我尝试删除lib并再次导入但没有改变。删除了派生数据的索引,但仍然没有线索。
it can't find Parse.h. I linked it from Link binary with libraries
everything seems right but whatever I tried it does't compile. I tried removing the lib and import again but nothing changed. Removed indexes on derived data but still no clue.
我该怎么办?花了2个小时仍然没有工作。
What should I try? It took 2 hours and still not working.
Xcode 6. IOS 8
Xcode 6. IOS 8
推荐答案
选择您的项目(例如,名为Project)并单击ProjectTests(在TARGETS部分中)。
然后,转到Build Phases> Link Binary With Libraries并添加Parse.framework
Select your project (named "Project" for example) and click on "ProjectTests" (in TARGETS section). Then, go to Build Phases > Link Binary With Libraries and add Parse.framework
这篇关于PrefixHeader.pch文件找不到标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!