ok, so i don’t know what I am doing wrong. I have a program that was made in AS Studio, and i put it in a dmg and when people open the app it appears for a second in the dock and then dissapears. (and yes my build style is on deployment) But when I download my own file off my website everything works fine. Anyone know whats going on?
Hendo,
Yup. More than likely you forgot to switch your build style to “Deployment” from “Development.” XCode doesn’t completely link programs compiled in “Development” mode - it only creates a program that is usable by you (because you compiled it) using the ZeroLink linker (which isn’t a true linker). So it mimics a working program for debugging purposes, but it’s not suitable for distribution to other people.
The solution is to change your build configuration to “Deployment” using the drop down in the toolbar of the mail XCode window for your project (there are other ways, but this is the quickest).
Try and see if that fixes your problem. Ran into this myself once…
As you can see Kevin i already mentioned that it is on deployment.
Oops, I missed that somehow. Hmmmm…Send me a copy and I’ll take a look at it for you, if you want.