Re: Resources missing when project is built
Re: Resources missing when project is built
- Subject: Re: Resources missing when project is built
- From: Matt Neuburg <email@hidden>
- Date: Fri, 23 Sep 2005 10:33:41 -0700
- Thread-topic: Resources missing when project is built
On Sun, 18 Sep 2005 12:24:07 -0700, "Xavier De Leon" <email@hidden>
said:
>I am having a problem where some resources are left out of my final
>application when I build it.
>
>Xcode vesion: 2.0 and 2.1
>Project Type: Cocoa application
>OS: Tiger and Panther
>
>With my project file I have included several AppleScript scripts which are
>called from Cocoa to work with applications from MS Office. This scripts
>were created using Script Editor and the files were saved as 'script' files.
>About 80% of the time when I build my application the AppleScript files are
>left out of the final application. They way I have worked around this
>problem is to manually copy the files to
>
>My Application:Contents Resources:
>
>Like I said the problem is intermittent. Has anyone seen this problem? Is
>there something special I need to do for AppleScript? My application also
>has some included PERL text files and those work just fine along with all
>the other resources.
When you add a .scpt file to a project, Xcode thinks you want a Script build
phase. It adds the .scpt file to this build phase and copiies it into
Contents/Resources/Scripts. Take a look; I bet they're in there. The
solution, of course, is to remove the scripts manually from that build phase
and attach them to the copy files build phase instead. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden