RE: Problem setting up project directory
RE: Problem setting up project directory
- Subject: RE: Problem setting up project directory
- From: "Michelle McDonald" <email@hidden>
- Date: Thu, 20 Mar 2008 15:29:29 -0500
- Thread-topic: Problem setting up project directory
> On Mar 20, 2008, at 10:07 AM, Michelle McDonald wrote:
>
>> Please forgive this very beginner question, but I can't seem to find
>> any answers to this. I'm porting a game from Windows to the Mac. I
>> have an example of an older game using the same engine that was
>> ported successfully, but I haven't been able to create a working
>> project file for mine.
>>
>> When I create a new project, say "myProject", it creates this:
>>
>> myProject/myProject.xcodeproj
>
>> The Windows project's directory is different, and I wanted this to
>> work:
>
>> someOtherDir/myProject.xcodeproj
>
>> When I tried to move myProject.xcodeproj up a level, or to rename
>> the parent directory to someOtherDir, the project settings broke.
>> Specifically, the "Debug" and "Release" choices in the Active Build
>> Configuration go away, and it's grayed out saying "No Configuration".
>
> First off, since most file references in an Xcode project will be
> group or project relative (and many time the group relative style will
> effectively be project relative), moving the project will cause those
> references to break and turn red.
>
> Renaming the enclosing folder should work, but make sure to close the
> project first, then rename the enclosing folder. If you bring up the
> inspector on a file reference that is broken (i.e. the name is shown
> in red) what absolute path, relative path, and path style are shown
> for the reference?
>
> Scott
Thanks for the reply. I figured out what happened, but I have no idea
why...
Moving the project wasn't the problem at all, it was that I hadn't
created a
target yet. For some reason, if you create a new project and close it
right away before creating a target, the "Active Build Configuration"
selection grays out. (Is there a way to get it back?)
If I add a target to the project before closing it, I can move its
location however I like. I'm totally baffled, but at least my project
settings are ok now.
Thanks,
Michelle
_______________________________________________
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