Roshni
Roshni

Reputation: 61

Error after creating static library in xcode 4.2

I have created a static library for iOS with Xcode 4.2 and added UIKit framework, but while building the library, I am getting an error message for UIImage class and UIWebDelegate:

Parse Issue Expected type

Please suggest me how to use UIKit framework in xcode 4.2 in static library.

Upvotes: 0

Views: 1076

Answers (1)

Jim
Jim

Reputation: 73966

It sounds like you are missing #import <UIKit/UIKit.h>.

Upvotes: 3

Related Questions