• 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: Extra files in the bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra files in the bundle


  • Subject: Re: Extra files in the bundle
  • From: Andy Cedilnik <email@hidden>
  • Date: Tue, 28 Mar 2006 14:44:09 -0500

Hi Mark,

Looks like copy files phase can do it, but is there any automated way to do this? I mean with the copy files phase, I must specify full path to all files that need to be copied and the destination. What I would really like is similar behavior to what Resources does right now. If I add resources to the source, they will automatically get copied to Resources subdirectory of the bundle. Is there any similar way to copy to any other subdirectory of the bundle?

      Andy

Mark Stultz wrote:

Andy,

Not sure if I understand the question, but are you needing the "Copy Files"
build phase?  (Right-click target, new->new build phase->new copy files
build phase).  They have pre-set folders and you can do some custom stuff.

Mark


On 3/28/06 1:32 PM, "Andy Cedilnik" <email@hidden> wrote:



Hello,

Looking at several bundles on my Mac, I noticed people put extra files
to various places in the bundle. Some put them into the Resources
subdirectory, while some other put them in MacOS directory, or they just
invent their own directory. So, if the bundle looks like this:

foo.app/
 Contents/
   Info.plist
   MacOS/
     foo
     fooAux
   Resources/
     fooRes1
     fooRes2
   Bar/
      fooBar1
      fooBar2

I know how to add files into Resources. How do I add files (not
executables) into MacOS, and how do I create a random directory in the
bundle such as in my example? Is this right way of package bundle, or
should all files go to Resources and Bar should not exist? How about
subdirectories of Resources or MacOS or Bar?

Thank you.

Andy
_______________________________________________
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



_______________________________________________ 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




--
Andy Cedilnik
Kitware Inc.

_______________________________________________
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


  • Follow-Ups:
    • Re: Extra files in the bundle
      • From: j o a r <email@hidden>
References: 
 >Re: Extra files in the bundle (From: Mark Stultz <email@hidden>)

  • Prev by Date: Re: Extra files in the bundle
  • Next by Date: Re: General X-code question
  • Previous by thread: Re: Extra files in the bundle
  • Next by thread: Re: Extra files in the bundle
  • Index(es):
    • Date
    • Thread