XCode Question
I am pretty much a novice programmer. I have written a Cocoa program on one machine using XCode. It runs fine on that machine, both when run under XCode and when I double click on the standalone application. Then I copy it to another computer (which does not have XCode installed). I double click on it and nothing happens. If I look in the console I get a lot of messages like "ZeroLink: could not load .o file: /Users/..."
Looks like it is not actually linking the program for deployment, but I don't know how to link properly. If I get info on the project and select the styles tab it says that the current build style is deployment and the box next to ZeroLink is unchecked. What am I doing wrong?
This is with XCode 1.5 under 10.3.8.
Thanks.
Looks like it is not actually linking the program for deployment, but I don't know how to link properly. If I get info on the project and select the styles tab it says that the current build style is deployment and the box next to ZeroLink is unchecked. What am I doing wrong?
This is with XCode 1.5 under 10.3.8.
Thanks.
Comments
Originally posted by JBL
I am pretty much a novice programmer. I have written a Cocoa program on one machine using XCode. It runs fine on that machine, both when run under XCode and when I double click on the standalone application. Then I copy it to another computer (which does not have XCode installed). I double click on it and nothing happens. If I look in the console I get a lot of messages like "ZeroLink: could not load .o file: /Users/..."
Looks like it is not actually linking the program for deployment, but I don't know how to link properly. If I get info on the project and select the styles tab it says that the current build style is deployment and the box next to ZeroLink is unchecked. What am I doing wrong?
This is with XCode 1.5 under 10.3.8.
Thanks.
There is an option in Xcode somewhere to export it 'as a product' or something like that. I haven't done any Cocoa development on Xcode, but i compiled a CVS version of Adium once and I had to do that to get it to run outside of the directory it was in. I think that it was in a faq on adium's message boards, or on their site. You could check that out. Adiumx.com
Originally posted by JBL
I am pretty much a novice programmer. I have written a Cocoa program on one machine using XCode. It runs fine on that machine, both when run under XCode and when I double click on the standalone application. Then I copy it to another computer (which does not have XCode installed). I double click on it and nothing happens. If I look in the console I get a lot of messages like "ZeroLink: could not load .o file: /Users/..."
Looks like it is not actually linking the program for deployment, but I don't know how to link properly. If I get info on the project and select the styles tab it says that the current build style is deployment and the box next to ZeroLink is unchecked. What am I doing wrong?
This is with XCode 1.5 under 10.3.8.
Thanks.
Hmmm..
You tried cleaning the targets and then building?
And you are double-clicking on the .app file, right? The one inside the "Build" folder.
Anyway, thanks for your suggestions.