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 :
- Added Sparkle.framework to my project (drag&drop)
Added to "link Binary With Libraries" but it generated this error:
dyld: Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle Referenced from: /Users/me/Library/Developer/Xcode/DerivedData/MyApp-esurnmkwvxcgcxbbrdgsobkoimfv/Build/Products/Release/Myapp.app/Contents/MacOS/MyApp
Reason: image not found
- Removed to "link Binary With Libraries"
- Added to "Copy Bundle Resources"
- Add an instance on SUUpdater to mainMenu.xib
- Did every config step required (create the private Key, upload file and rss etc..)
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?
You also need to import the Sparkle framework into the header file for your class:
This isn't mentioned in your question as one of the steps you've taken, hence I'm assuming it hasn't been done.