Re: How to put files in app bundle?
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