Reputation: 31
I've got a working ObjC command-line tool, compiles fine / builds fine / runs fine / been using it for months. I finally decided to add a Cocoa-GUI to it and I'd like to utilize the classes I've already built for the command-line tool. Aside from retro-fitting IBActions & IBOutlets to make the MainMenu.xib work with the existing classes, I'm stuck with a basic problem.
The .app product won't build or run while the pre-existing command-line tool will. How do I make the .app product build and run?
Upvotes: 1
Views: 1552
Reputation: 31
Here's how to do it.
Notice that the formerly 'red' .app target is now 'black'. Verify that the new Cocoa app can be shown in the Finder and will launch when double-clicked.
Upvotes: 2