PDA

View Full Version : Need XCode help for building standalone app


ianchan1970
11-03-2004, 11:57 PM
Hi,

I'm new to XCode, but have successfully built a tutorial Cocoa application in XCode.
This application launches on the Mac I developed on, but fails to launch when I copy it to any another Mac.
All computers are running the same version of Mac OS X (Panther).

Can someone point out what is wrong?
Do I need to copy additional resources besides the application?

Thanks!

hayne
11-04-2004, 01:05 AM
Go to the web site www.cocoadev.com which has lots of resources for Cocoa programmers.
Click on the "FAQs" link and then click on the first of the FAQ links in the list (alistairs-place) and look in section 4. You will find the answer to your question (it is about "zero-link")

jeffroob
10-26-2005, 08:37 PM
That FAQ doesn't seem to exist any longer. Does anyone have a solution to the original post here?

hayne
10-26-2005, 09:39 PM
ZeroLink is a technology that is used in the "Development" or "Debug" build styles of XCode. It is not used in the "Deployment" or "Release" build styles.
When you use ZeroLink, XCode doesn't link in the libraries that the app needs - in order to make a faster turnaround while developing.

Usually when you give an app to someone else, you should build it using the "Deployment" or "Release" build styles where ZeroLink will not be active.

If you don't know about build styles then you need to read the XCode documentation - see the Help menu.