On Aug 24, 2004, at 5:41 PM, Alan Olsen wrote:
I get the following errors:
ZeroLink: could not load .o file: /Users/alan/Documents/XCode Projects/KingCNCProgrammer.build/KingCNCProgrammer.build/Objects- normal/ppc/main.ob
ZeroLink: unknown symbol '_main'
If it's any consolation, this is quite possibly the single most frequently asked question over on Apple's cocoa-dev list. You're not alone, not by a long shot.
It's an easy fix: build your app using the "Deployment" build style, not the "Development" build style. If you're using the GUI, go to the "Build Results" window and select it from the "Active Build Style" drop-down. If you're using the command-line build tool, use it like so:
xcodebuild -buildstyle Deployment
sherm--
