Re: How do start from scratch?
Re: How do start from scratch?
- Subject: Re: How do start from scratch?
- From: "Jim Thomason" <email@hidden>
- Date: Wed, 15 Aug 2007 13:08:13 -0500
> I want to get rid of this annoying bug, but I can't just reinstall Xcode
> Tools, because the templates are in the Macintosh HD/Library folder and
> Xcode Tools only affect Macintosh HD/Developer folder.
First of all, there's no bug here as far as I'm aware. You edited the
project template and caused a problem.
Regardless, re-installing XCode should do it. Every time I've upgraded
XCode, I've blown away my custom project template mods to the point
that I've stopped modifying the project templates. It's a major
nuisance. And, you will have this same problem - upgrade XCode and
you'll lose your changes.
If I remember correctly, you're going to want to go into the
.xcodeproj file for whichever project you modified (NOT in Xcode, via
the terminal or the finder) and you'll probably find 2 or 3 files
named off of your username
Me.mode1
Me.pbxuser
Me.perspective
And that should take care of it, IIRC.
For the future, it may be better to just manually delete the stuff out
of the project file. Alternatively, duplicate the template entirely
and create a new one for yourself. I don't think XCode's installer
blows away project templates that it doesn't know about, so a
personalized should be safe.
Me? I'd just delete the lines. It's one delete in one file. No biggee.
-Jim....
Must I make a new
> installation of the whole Mac OS X? Or is there a way to just overwrite the
> Macintosh HD/Library/Application Support/Apple/Developer Tools/Project
> Templates/Command Line Utility/Foundation Tool/
> folder?
> In that case where do I get the original file?
>
> Bob
>
> ----- Original Message ----
> From: Jyrki Wahlstedt <email@hidden>
> To: Bob Ueland <email@hidden>
> Cc: email@hidden
> Sent: Wednesday, August 15, 2007 2:54:55 PM
> Subject: Re: How do start from scratch?
>
>
>
> On 15.8.2007, at 15.39, Bob Ueland wrote:
>
> > Thanks for your answer. I did as was told (almost) but ran into a
> > new problem. I did edit the main.m file in
> >
> > Macintosh HD/Library/Application Support/Apple/Developer Tools/
> > Project Templates/Command Line Utility/Foundation Tool/main.m
> >
> > I emptied it and save it. But now Xcode seems unable to find the
> > project name? Look what I mean. I've created project with name
> > project11 and when I enter the HelloWorld program and run it, it
> > executes correctly but here is the output.
> >
> > [Session started at 2007-08-15 14:29:21 +0200.]
> > 2007-08-15 14:29:21.227 test11[5801] Hello, World!
> >
> > «PROJECTNAME» has exited with status 0.
> >
> > Before I had
> > test11 has exited with status 0.
> >
> > but now the generic name PROJECTNAME is used instead of my project
> > name???
> >
> > Any ideas???
> > Bob
>
> Hmm,
> I am not sure, and I do not know, what exactly has happened, but in
> the respective directory there are files containing PROJECTNAME, so
> something goes wrong there. My first idea was to copy an existing
> template to modify…
>
> !
> ! Jyrki Wahlstedt
> ! http://www.wahlstedt.fi/jyrki/
> !
> ! Our life is no dream; but it ought to become one and perhaps will.
> ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
> 6366 EFD9 139C C386
>
>
>
>
>
> ________________________________
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
> news, photos & more.
> _______________________________________________
> 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
>
_______________________________________________
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