2

I'm using MacRuby 0.10 and XCode 4 where I have created a default NSDocument-based application. When building and running the app, however, no window shows, and the usual menu commands are largely disabled.

When creating a regular Cocoa-based application, the main app window shows just fine.

Does anyone have an idea what the fix is?

Dan;

Dan
  • 1,258
  • 1
  • 10
  • 22

1 Answers1

5

Manually add a DocumentType to your target. Use a basic Objective-C project as an example.

mff
  • 66
  • 1
  • This totally helped! Thanks! I just ended up copying the plist entry from a normal objective-c app. – drudru Jul 04 '11 at 17:39