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: David Dunham <email@hidden>
- Date: Tue, 22 Jul 2008 19:06:54 -0700
On 14 Jul 2008, at 14:20, Michael Rawdon 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.)
I did this again and it seemed to work -- that is, I got the warning,
but when I removed it from the build phase, it did end up in the .app
bundle, preprocessed correctly.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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