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

Re: Problems with Info.plist and 3.1


  • Subject: Re: Problems with Info.plist and 3.1
  • From: Michael Rawdon <email@hidden>
  • Date: Mon, 14 Jul 2008 14:20:21 -0700

Hi David -

On Jul 14, 2008, at 10:32 AM, David Dunham wrote:
Since updating to 3.1, I get this warning

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'source/Info.plist'.

If I remove it from the build phase, no .plist gets copied (and my app doesn't get its icon). The target has the build setting

INFOPLIST_FILE = source/Info.plist

How do I get a plist but no warning?

That's certainly strange.  Simply having INFOPLIST_FILE set should be sufficient to copy the file defined in that setting into place.  My best guesses are these, but they're shots in the dark:

1) There's no file at $(SRCROOT)/source/Info.plist

2) INFOPLIST_FILE is set for some configurations in your target but not others.

When you build (from clean), is there a 'com.apple.tools.info-plist-utility' step?  That's the step which copies the Info.plist file into place.  (It also performs build setting expansion on the file, if any needs to be done.)

-- 
Michael Rawdon

email@hidden
Xcode Developer

Apple Inc., Cupertino CA




 _______________________________________________
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: Problems with Info.plist and 3.1
      • From: David Dunham <email@hidden>
References: 
 >Problems with Info.plist and 3.1 (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
  • Next by Date: Re: Xcode 3.1 problem checking dependencies
  • Previous by thread: Problems with Info.plist and 3.1
  • Next by thread: Re: Problems with Info.plist and 3.1
  • Index(es):
    • Date
    • Thread