Re: Project references
Re: Project references
- Subject: Re: Project references
- From: George Warner <email@hidden>
- Date: Mon, 28 Jun 2004 13:09:51 -0700
on 6/28/04 9:47 AM, Markian Hlynka at <email@hidden> wrote:
> On Jun 28, 2004, at 9:01, George Warner wrote:
>> On Sat, 26 Jun 2004 18:33:58 -0700, David Dunham <email@hidden>
>> wrote:
>>> So I'm trying to bring my code with me to WWDC, but since I have to
>>> copy an Xcode project to my PowerBook, none of the paths are the
>>> same. And I can't seem to figure out how to fix them.
>>
>> I've found that the quickest way to fix these is to just open the
>> project's
>> package (in the Finder) and edit the <project.pbxproj> file with any
>> text
>> editor (I usually use BBEdit). Search for "path =". You can also look
>> for "
>> refType = 0;" (this means an absolute reference) If it's not a system
>> or
>> framework reference you can change the path to project relative and the
>> refType to 4 (Project relative).
>
>
> That's cool. How does one determine, however, which targets associate
> with what?
> For example, I have the below snippet from my xcode project.I see that
> I have one type 4 ref, and one type 2 ref; I wonder what the type 2 ref
> is associated with, as I was pretty sure I had everything set up as
> project relative.
> [...]
> isa = PBXGroup;
> name = codegeneration;
> refType = 4;
> sourceTree = "<group>";
This is group (parent) relative.
> isa = PBXGroup;
> name = Source;
> path = "";
> refType = 2;
> sourceTree = SOURCE_ROOT;
This appears to be relative to the symbol "SOURCE_ROOT".
Nether of these are absolute; Xcode should be able to resolve them both.
It's only the "refType = 0" that are absolute addressed.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.