• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Resources missing when project is built
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Errors trying to compile HID support?
  • Next by Date: Re: Help debugging an issue...
  • Previous by thread: Resources missing when project is built
  • Next by thread: Xcode 2.1 & Subversion broken workaround
  • Index(es):
    • Date
    • Thread