On 20/05/2005, at 3:43 PM, Josh McKinnon wrote:


On 20/05/2005, at 10:04 , Rod wrote:


Hi All!

Just a quick question to those on the list who use XCode. I'm a real newbie when it comes to programming. I have made an AppleScript Studio program, and a Cocoa program using CoreData. I have been able to get them to Build and Run with no problems. I can even go into the Build folder of the particular project and run the app from there. But as soon as I make a duplicate of the app and either run it from a different user or email it to someone else, neither program will launch. I get a couple of bounces then the icon disappears.

There must be something I am missing here. Is there part of XCode that when I am ready to deploy the program, it makes the program into something else?

Sorry for the noob question :-)


Rod,

I'm not sure about this, but check that the "Active Build Style" is set to "Deployment". I think that you need to do that to ensure that all the resources it needs are copied into the application bundle.

-josh


Hi Josh,

Looks like that was what I was doing wrong. As soon as I set it to deployment, and rebuilt, the app worked fine on other machines. Thanks for that!

Seeya

Rod!