MatterGoal
MatterGoal

Reputation: 16430

Adding Sparkle framework in Xcode 4

I'm totally stuck in a operation that might be really simple...adding Sparkle to a project created in Xcode 4. I did these operations :

When i launch my application i get a warning :

Unknown class 'SUUpdater', using 'NSObject' instead. Encountered in Interface Builder file at path /Users/...etcetcetc

And obviously due to this warning the updater never starts. What I missed?

Upvotes: 2

Views: 1879

Answers (1)

Jonathan Head
Jonathan Head

Reputation: 428

You also need to import the Sparkle framework into the header file for your class:

#import <Sparkle/Sparkle.h>

@implementation YourClass : NSObject
{

}

This isn't mentioned in your question as one of the steps you've taken, hence I'm assuming it hasn't been done.

Upvotes: 5

Related Questions