• 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: Project template won't macro expand NIB files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project template won't macro expand NIB files


  • Subject: Re: Project template won't macro expand NIB files
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 2 Nov 2007 22:20:14 -0700


On Nov 2, 2007, at 9:59 PM, Tron Thomas wrote:

I'm trying to develop a project template using Xcode 2.4 on Mac OS X 10.4.10.  I seem to have everything working except that no macro expansion is taking place for any of the NIB files.  I've included the NIB files in the TemplateInfo.plist file, and I made sure all these files were UTF-8 text files.


What can be preventing the macro expansion for taking place?


The fact that they're UTF-8 text files.

The characters that delimit macros are in fact MacRoman characters « and ».  If you encode them in UTF-8 the expansion will fail.

It's a delicate operation: the UTF-8 content must be encoded in UTF-8, but the macro delimiters must be in MacRoman.  This makes the files invalid in either encoding which is kind of a pain.

Chris
 _______________________________________________
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: 
 >Project template won't macro expand NIB files (From: Tron Thomas <email@hidden>)

  • Prev by Date: Project template won't macro expand NIB files
  • Next by Date: Inserting a new line after the current line
  • Previous by thread: Project template won't macro expand NIB files
  • Next by thread: Inserting a new line after the current line
  • Index(es):
    • Date
    • Thread