• 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: Info.plist preprocessing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info.plist preprocessing


  • Subject: Re: Info.plist preprocessing
  • From: Eric Albert <email@hidden>
  • Date: Thu, 19 Jan 2006 09:25:13 -0800

On Jan 19, 2006, at 9:14 AM, Massimiliano Origgi wrote:

Il giorno 19/gen/06, alle ore 17:19, Chris Espinosa ha scritto:

On Jan 19, 2006, at 7:00 AM, Massimiliano Origgi wrote:

Before submitting a bug report against it, I wanted a confirmation.

I'm using XCode 2.2, GCC 4 and distributed builds are disabled.
I have started using the Info.plist preprocessor, but I get the #pragma related to distributed builds at the beginning of the processed Info.plist.
Reading the list I got the impression that it was fixed, so am I missing something or are there still Known issues with it?

I'm not sure how you got that impression. Files that you #include for plist preprocessing shouldn't have C code or C compiler directives in them; it's best to just limit them to macro definitions. The preprocessor passes through all #pragmas, expecting the compiler to act on them, but they are invalid in plists.



Mmh, effectively my mail was somewhat nebulous...
The Info.plist preprocessing in my files involves only macro expansion, so far so good, but...
I get that
#pragma GCC set_debug_pwd "<path to build folder>"
added to the top of the generated Info.plist in the application bundle as others have seen in the past.
Reading the archives it should be working with my current config, so my cryptic question. :-)

Did you change your default system compiler from gcc 4.0 to 3.3? I think that would do this.


Rather than changing the default compiler via gcc_select, leave it with 4.0 and set the projects that need 3.3 to use it explicitly.

-Eric

_______________________________________________
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


  • Follow-Ups:
    • Re: Info.plist preprocessing
      • From: Massimiliano Origgi <email@hidden>
References: 
 >Info.plist preprocessing (From: Massimiliano Origgi <email@hidden>)
 >Info.plist preprocessing (From: Massimiliano Origgi <email@hidden>)
 >Re: Info.plist preprocessing (From: Chris Espinosa <email@hidden>)
 >Re: Info.plist preprocessing (From: Massimiliano Origgi <email@hidden>)

  • Prev by Date: Re: TraceEventByName
  • Next by Date: Re: GCC for i386 allows 'invalid suffix "f" on integer constant'
  • Previous by thread: Re: Info.plist preprocessing
  • Next by thread: Re: Info.plist preprocessing
  • Index(es):
    • Date
    • Thread