开发者

Adding Existing Framework to Xcode (iPhone) error

I have added the <QuartzCore/QuartzCore.h> to my Frameworks folder in my iPhone project and added the #import "<QuartzCore/QuartzCore.h>" statement at the top of a custom UIView class.

However the custom UIView class gives me a "No such file or directory" compliation error in relation to the <QuartzCore/QuartzCore.h>开发者_StackOverflow framework. Is there something else I need to set so that the compiler can see the framework.

I'm not expert on the Xcode IDE so any assistance would be extremely welcome.


try removing the quotes around the <QuartzCore/QuartzCore.h>

you don't need them when you are importing a framework.


This is the correct syntax:

#import <QuartzCore/QuartzCore.h> // not #import "<QuartzCore/QuartzCore.h>"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜