Re: Problems with Info.plist and 3.1
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