• 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: How to put files in app bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to put files in app bundle?


  • Subject: Re: How to put files in app bundle?
  • From: Mike Lazear <email@hidden>
  • Date: Mon, 7 Feb 2005 14:18:20 -0800


On Feb 7, 2005, at 12:15 PM, Mark Dawson wrote:

I've added the build phase; however, XCode (1.5) won't allow me to add files to the build phase. If I try to drag files to it, the "CopyFiles" highlights (and the disclosure triangle turns down), but the drag is rejected. If I select "CopyFiles", then "Add files to project", the files (and folders) I want to add are grayed out.

Is there something I need to do to that makes these files valid? (I know in CodeWarrior, you had to tell CodeWarrior that these were valid types, but I don't seem to see anything like that when editing the target…).

Also, can I just add a "SharedSupport" folder, and the build phase will copy the folder and its contents in? Or do I have to add a sub copy phase, name the folder "SharedSupport", then explicitly add all the files in that folder?

I've been following this thread since I'm interested in doing the same thing.


What I did to get around Mark's problem is I added the files to a new folder in my project but then unchecked them so they wouldn't attempt to be compiled. I then dragged the files from the new folder into the Copy Files build phase folder. This worked and it now copies the necessary files to the SharedSupport folder within my Build. Is this the right way to get these files into the Copy Files folder?

The problem that I'm having is that my files are all application specific data files but once they get copied to SharedSupport folder they somehow get marked as UNIX executables. Looking at the inspector for each file they are marked as file type "file" which I would think would be correct for a binary data file that XCode doesn't understand. Basically I just want XCode to copy the file and leave it as it was originally.

Any ideas?

Mike

_______________________________________________
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


References: 
 >How to put files in app bundle? (From: Mark Dawson <email@hidden>)
 >Re: How to put files in app bundle? (From: Chris Espinosa <email@hidden>)
 >Re: How to put files in app bundle? (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: X-Code Deployment style problem
  • Next by Date: Re: Problem Debugging GNU Make Projects
  • Previous by thread: Re: How to put files in app bundle?
  • Next by thread: Re: How to put files in app bundle?
  • Index(es):
    • Date
    • Thread