• 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[4]: Editing pbxproj manually
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[4]: Editing pbxproj manually


  • Subject: Re[4]: Editing pbxproj manually
  • From: Peter Mulholland <email@hidden>
  • Date: Wed, 6 Jun 2007 15:46:49 +0100

Hello Clark,

Wednesday, June 6, 2007, 3:00:12 PM, you wrote:

> How is the path not correct? What is wrong with the path? Why do you
> have to re-add the files? Why can't you use the inspector inside of
> Xcode to make your changes.

The path is an absolute path, in this case
"/Code/Domination/Original_Source". It's marked as absolute. If i
change it to Project Relative, all that happens is it becomes
"../../../Code/Domination/Original_Source" which is still not correct.
I cannot edit the path. I see no way to change it other than by
removing the affected files and readding them.

In the project.pbxproj i found -

 name = Original_Source;
 path = /Code/Domination/Original_Source;
 sourceTree = "<absolute>";

I changed that to:

 name = Original_Source;
 path = "../Original_Source";
 sourceTree = SOURCE_ROOT;

These values were derived from another group in the project, which
does similar to get a "Project Relative" path. However, this causes
Xcode to get upset and claim sourceTree is "nil" or "(null)". It even
moans about the change to path.

> If there's something that you think you should be able to do within
> Xcode that you can't, then file a bug requesting that the
> functionality be added. (<https://bugreport.apple.com/>, requires a
> free ADC membership).

Well, being able to edit this base path would be a good idea!

> Then file a bug with Apple, attach the project bundle, and explain
> exactly what isn't working for you (please be more specific than it
> "screws up"). That's the only way we'll see your problem and be able
> to even start to look at it.

Not sure I can attach the bundle - will have to check that with my
manager.

> Regardless of the file format used, it is not a public format. Even if
> it used XML you couldn't assume that you would be able to meaningfully
> edit it.

Well, I've never had a problem editing .vcproj files!

> No, all doesn't seem correct. If all seemed correct, Xcode wouldn't be
> displaying the Internal Error dialogs; they're there for a reason.
> Please include the contents of these dialogs in the bug(s) you file.

It "seems correct" because once it's done whining, it compiles OK.
It's only when I try to modify anything in the group where I changed
the path, that it whines again.

I'm also wondering - why doesn't it fix this on save?

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
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: Re[4]: Editing pbxproj manually
      • From: "Clark Cox" <email@hidden>
    • Re[4]: Editing pbxproj manually
      • From: Rich Siegel <email@hidden>
References: 
 >Editing pbxproj manually (From: Peter Mulholland <email@hidden>)
 >Re: Editing pbxproj manually (From: j o a r <email@hidden>)
 >Re[2]: Editing pbxproj manually (From: Peter Mulholland <email@hidden>)
 >Re: Re[2]: Editing pbxproj manually (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: Re[2]: Editing pbxproj manually
  • Next by Date: Re[4]: Editing pbxproj manually
  • Previous by thread: Re: Re[2]: Editing pbxproj manually
  • Next by thread: Re[4]: Editing pbxproj manually
  • Index(es):
    • Date
    • Thread