Re: Help Folder and Copy Build Phase problem
Re: Help Folder and Copy Build Phase problem
- Subject: Re: Help Folder and Copy Build Phase problem
- From: Jeremy Dronfield <email@hidden>
- Date: Mon, 17 May 2004 21:25:52 +0100
On 17 May 2004, at 7:41 pm, Bill Cheeseman wrote:
on 2004-05-17 1:41 PM, Jeremy Dronfield at email@hidden
wrote:
On 17 May 2004, at 6:13 pm, Mark Munz wrote:
I must be missing something obvious here.
I've got a help folder that I'm trying to copy into my application
bundle using the Copy Files Build Phase, but Xcode won't let me drag
the files into build-phase. Do I need to make this a package of some
sort to get the copy files to work, or is there some other method
that
I'm missing here.
Your Help folder doesn't need to go in a Copy Files phase. Provided
you've set it up correctly as a blue folder and registered it in the
Info.plist, Xcode will put Help into Bundle Resources for you.
Just to be clear, setting it up correctly "as a blue folder" means to
add it
to the English.lproj subfolder (if English is your development
language) in
your project folder. It will then automatically end up in the
English.lproj
subfolder of the Resources folder of your application bundle.
Localizers
will make a copy of it, stick it in their language .lproj folder in the
bundle, and translate all the HTML files into their language.
Actually, what I meant specifically by a "blue" folder was the
necessity of creating a folder reference to the folder in your project.
When the folder is added to your project, you have to select "Create
folder references for any added folders". That way, your Help folder
will end up as a "blue" folder in Groups & Files, instead of as a
"brown" folder or Group (Groups are just a working convenience which
have no existence outside the Xcode environment). The latter appears to
have happened in your case, Mark, since:
Xcode took all the individual files and put them in the Resources
folder, but as individual files, not inside the Help Book folder.
Regards,
-Jeremy
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.