Urizen
Urizen

Reputation: 2331

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> 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.

Upvotes: 1

Views: 1187

Answers (2)

christo16
christo16

Reputation: 4843

This is the correct syntax:

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

Upvotes: 2

Ryan Ferretti
Ryan Ferretti

Reputation: 2961

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

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

Upvotes: 3

Related Questions