• 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: David HM Spector <email@hidden>
  • Date: Wed, 26 Dec 2007 10:18:02 -0500


On Dec 26, 2007, at 3:55 AM, Jean-Daniel Dupas wrote:

The Info.plist path is a target's "build setting".
Double clic on your target. Select the "Build" tab, and search for Info.plist in your settings.




Jean-Daniel,

Thanks for the suggestion, ...I tried editing the string directly and then dragging the file from the filesystem to the text field of the dialog box
(XCode puts the absolute path in for you) and still have the same problem.


Here's the simplest test case I can make:

1) Create a new cocoa application ("Plist-test") with XCode
2) Quit XCode
3) Open the directory where the new skeletal app lives, create a new folder called "Resources"
4) Drag info.plist into it
5) Re-open the project file; the info.plist entry in the logical "Resources"(*) directory will be red
6) Right click on the info.plist file and select "Get Info", then click "choose" to locate the file in its new location on the
disk (the file name will turn black again since XCode now can find it)


7) click Build ; get 1 Error gcc can't find the file

Same result if you double-click the Plist-Test target and chance info.plist's location from the Build settings.

Of course double-clicking on the info.plist file opens it up in an editor just fine...

(*)
Of course this brings up another problem that I am surprised Apple didn't fix with XCode3 - the disconnect between
XCode's faux "groups" and the actual layout on disk... IMHO it's very frustrating and violates just about every HIG
guidelines the Mac has ever had... to say nothing of making the management of complex projects really hard...



David
----------------------------------------------------------------------------------------------
David HM Spector
spector at zeitgeist dot com http://www.zeitgeist.com
~ ~ ~
"New and stirring things are belittled because if they are not belittled, the
humiliating question arises, 'Why then are you not taking part in them?'"
--H . G. Wells


_______________________________________________
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: info.plist problem
      • From: David Dunham <email@hidden>
    • Re: info.plist problem
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >info.plist problem (From: David HM Spector <email@hidden>)
 >Re: info.plist problem (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: info.plist problem
  • Next by Date: Re: info.plist problem
  • Previous by thread: Re: info.plist problem
  • Next by thread: Re: info.plist problem
  • Index(es):
    • Date
    • Thread