• 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
Info.plist Preprocessing Doesn't work for a -sectcreate Info.plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Info.plist Preprocessing Doesn't work for a -sectcreate Info.plist


  • Subject: Info.plist Preprocessing Doesn't work for a -sectcreate Info.plist
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 25 Jun 2009 04:12:24 -0700

Submitted to Apple Bug Reporter, 7006103.

Steps to Reproduce:

1. Create a project in Xcode to develop a command-line utility.

2. In Target's Build settings:
2.1. In Other Linker Flags, add -sectcreate __TEXT __info_plist.
2.2. Switch on "Preprocess Info.plist File"
2.3. In Info.plist File, indicate a filename.
2.4. Define a User-defined setting such as MY_MACRO to have value "Hello"


3. Create the Info.plist file referenced step 2.3. In this file use $ {MY_MACRO} as one of the values.

4. Build.

Expected Results: The Info.plist embedded into the executable product contains "Hello".

Actual Results: The Info.plist embedded into the executable product contains "MY_MACRO".


_______________________________________________ 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
  • Prev by Date: Re: Xcode USB Debug Kit 10.5.7 Download?
  • Next by Date: Error compiling .r resource file with XCode 2.5 and Intel
  • Previous by thread: Re: Xcode USB Debug Kit 10.5.7 Download?
  • Next by thread: Error compiling .r resource file with XCode 2.5 and Intel
  • Index(es):
    • Date
    • Thread