Re: info.plist problem
Re: info.plist problem
- Subject: Re: info.plist problem
- From: Chris Hanson <email@hidden>
- Date: Wed, 26 Dec 2007 15:37:34 -0800
On Dec 25, 2007, at 8:26 PM, David HM Spector wrote:
My problem is that when I moved all the the Editor App's files into
a collection of sub-dirs
(e.g., EditorApp/{Classes, Resources, Other Classes,} etc) on the
physical disk (as opposed the flat layout that's the default with
XCode projects) suddenly my
builds are failing because XCode (well, gcc) can't find the
info.plist file.
No, it's Xcode, not gcc, that's unable to find the Info.plist file.
However its clearly referenced
in its new home in the project. If I double-click on it I can see
its contents and edit it. It appears to be
in the correct place in terms of the "Copy Bundle Resources" phase
of the target for the Editor app.
An Info.plist file should not appear in the "Copy Bundle Resources"
build phase of a target at all. Instead, the path to it — relative to
the project root — should be specified via the "Info.plist File" build
setting in the target. (Be sure the path is correct for all
configurations of the target.)
I've created plenty of projects over the years where the Info.plist
File build setting for a specific target is set to something like
"TargetName/Resources/TargetName-Info.plist" and it's worked just
fine. I suspect you've either entered a path that's subtly different
from the actual path, or that you've changed the path in your
target(s) for a different configuration than you're actually building.
-- Chris
_______________________________________________
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