Michael Cook’s Place

Bits of Genius in a Sea of Mediocrity

Michael Cook’s Place Random Header Image

Stuck During Widget Development (Updated)

March 19th, 2008 · No Comments

I’m trying to write a Widget for OS X, but I’m running into a terrible brick wall.

My widget, so far, does nothing. It’s just static HTML. I know that’s right. It works fine in Safari. I’ve got all my various files (like Info.plist). Yet I can’t launch my widget.

When launched, it just shows the loading graphic the whole time, the actual page is never rendered. I can open it in Dashcode and see the correct view of the widget, but when I launch it with run it immediately quits running again. The console output shows nothing.

I’ve been trying reformatting the Info.plist file, renaming things, and anything else I can think of. Nothing seems to work well. I have managed to get my widget to launch once or twice, but I have no idea what I did. When I tried launching it again, it didn’t work. Something is going on but I can’t figure it out for the life of me. If I can figure out what I did wrong, I’ll post it here in case someone else runs into this.

Here is my test version of my widget. I stripped it down completely, but still have the same problem. Test Widget.

Update: So I try this one day later, and it opens just fine. I’m really starting to hate dashboard.

Tags: Programming