Hello,
I want to create an NSMenuExtra. I followed the tutorial on cocoadevcentral.com, but when I try to run it, it gives this error: ZeroLink: unknown symbol ‘_main’
Uh… do you have a main() function?
—-
What do I need to put in the main() function for an NSMenuExtra?
—-
You don’t need one, the menu extra is loaded and run by the SystemUIServer. Make sure your build settings are correct; the important ones are “Mach-O Type”, which should be “Bundle”, and “Wrapper Extension”, which should be “menu”. (In fact, you may even want to create a new target of type “Loadable Bundle” and change the Wrapper Extension setting). Your product should then be W
Thanks, I actually was creating an app instead of a bundle, so I fixed the problem.