Re: Copy Bundle Resources build phase questions
Re: Copy Bundle Resources build phase questions
- Subject: Re: Copy Bundle Resources build phase questions
- From: Shawn Erickson <email@hidden>
- Date: Fri, 09 Mar 2007 07:43:25 -0800
On Mar 9, 2007, at 2:03 AM, Rick Mann wrote:
I'm trying to figure out how the Copy Bundle Resources build phase
does what it does. I want to add various localized subfolders
(en.lproj, etc), but it's not clear to me how to configure things
properly. I notice that my Carbon project, created from a template,
had a a <projectname>-Info.plist file. How does it know to change
the name of this file when it copies it?
In the target you denote what file is the Info.plist for that target.
Xcode then preprocesses that file (allowing for substitution based on
build settings) and writes out the file in the correct location with
the correct name.
To add localized resources, do I create an en.lproj folder
somewhere and start putting files in it?
You could are you could ask Xcode to make a file localizable for you.
Review...
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/03_07_ed_localize/
chapter_24_section_1.html#//apple_ref/doc/uid/TP40002683-CFHIFBGJ>
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/000_xc_workflow/
chapter_2_section_6.html>
When I do that, Xcode shows this in the Groups & Files view:
Resources > en.lproj > Localizable.strings > en. This implies that
there can be more localizations under that Localizable.strings
file. It is very confusing to me to have multiple localizations
under a file living in "en.lproj".
It sounds like you are fighting with the Xcode. I suggest you ask
Xcode to make a file localizable and/or add/remove a localization as
needed.
-Shawn
_______________________________________________
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