• 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: info.plist problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >info.plist problem (From: David HM Spector <email@hidden>)

  • Prev by Date: Re: Two XCode questions/problems with strings
  • Next by Date: How to remove depracated custom Class in nib?
  • Previous by thread: Re: info.plist problem
  • Next by thread: GDB Broken w/Xcode 2.5 on Leopard (Xcoe 3 parallel install)
  • Index(es):
    • Date
    • Thread