Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / February 2005



Tip: Looking for answers? Try searching our database.

Xcode crashing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CyberSpiff - 26 Feb 2005 00:10 GMT
Alright, I admit, I did something stupid.

I accidentally typed a unicode character into the editor while working
on a text file, and when I tried to save it the editor gave me a choice
"save as unicode". In my ignorance, I typed "Yes". Ever since then when
I try to open the project, Xcode crashes. I've tried deleting the source
module and recreating it with plain text, but it still crashes.

Has anyone else seen this or have any suggestions?

Signature

-spiff
Never be bullied into silence. Never allow yourself to be made a victim.
Accept no one's definition of your life; define yourself.

Patrick Machielse - 26 Feb 2005 10:00 GMT
> Alright, I admit, I did something stupid.

No, you didn't.

> I accidentally typed a unicode character into the editor while working
> on a text file, and when I tried to save it the editor gave me a choice
> "save as unicode". In my ignorance, I typed "Yes". Ever since then when
> I try to open the project, Xcode crashes. I've tried deleting the source
> module and recreating it with plain text, but it still crashes.

Try to see if you can reproduce this on a dummy project. (which unicode
character was it?) If so, file a bug report. Xcode shouldn't crash,
ever, and unicode characters are allowed in Java source.

> Has anyone else seen this or have any suggestions?

Open the 'offending' source in a text editor and change the file
encoding.

patrick
CyberSpiff - 26 Feb 2005 13:19 GMT
>>Alright, I admit, I did something stupid.
>
[quoted text clipped - 16 lines]
>
> patrick

Patrick, it was the Hebrew letter "shema". I'm not sure what unicode it
is, since when I have to write Hebrew I just click on the little flag
and change it.

I did what you suggested and once again you've saved me. I did cheat a
bit and use a shell with vi to remove the bad character, but that seems
to have done the trick.

Thanks once again.

Signature

-spiff
Never be bullied into silence. Never allow yourself to be made a victim.
Accept no one's definition of your life; define yourself.

David Phillip Oster - 26 Feb 2005 15:49 GMT
> Patrick, it was the Hebrew letter "shema". I'm not sure what unicode it
> is, since when I have to write Hebrew I just click on the little flag
> and change it.

If you enable the Character Palette, using the Input Menu panel of the
International pane of System Preferences, you can see from its Unicode
Table panel that shema is \u05E9.

Signature

David Phillip Oster

CyberSpiff - 26 Feb 2005 17:41 GMT
>>Patrick, it was the Hebrew letter "shema". I'm not sure what unicode it
>>is, since when I have to write Hebrew I just click on the little flag
[quoted text clipped - 3 lines]
> International pane of System Preferences, you can see from its Unicode
> Table panel that shema is \u05E9.

David, thank you for pointing that out. And thank you also for not
pointing out my error in that I actually meant the Hebrew letter "shin",
 not "shema". Too tired and not thinking :-)

Signature

-spiff
Never be bullied into silence. Never allow yourself to be made a victim.
Accept no one's definition of your life; define yourself.

Florian Zschocke - 26 Feb 2005 10:18 GMT
> Alright, I admit, I did something stupid.
>
[quoted text clipped - 5 lines]
>
> Has anyone else seen this or have any suggestions?

Welcome to the desert. I have posted a question about xcode crashing on my
project several times - i never got an answer. If it is a small project I
would say the easiest way to make a new one. One time I could get my
project back. I went into the [projectname].xcode bundle and delete the
[username ].pbxuser file. I also did delete the [projectname].build folder.
Make sure that you make a copy of your project files first. I also would  
delete the unicode character from your file with textedit.

Floria

Signature

This message was send with Xnntp - free Mac OSX (10.3) nntp-newsreader
    Download Xnntp at http://www.edv-consulting-berlin.de/Xnntp.

Michael Ash - 26 Feb 2005 13:07 GMT
> Welcome to the desert. I have posted a question about xcode crashing on my
> project several times - i never got an answer. If it is a small project I
> would say the easiest way to make a new one.

The easiest way is to always use a source-code management system like CVS
or Subversion, and simply revert your project back to the state it was in
when it was last working.

Problems like this are why SCM is useful even on one-man hobby projects.
CyberSpiff - 26 Feb 2005 13:21 GMT
>>Welcome to the desert. I have posted a question about xcode crashing on my
>>project several times - i never got an answer. If it is a small project I
[quoted text clipped - 5 lines]
>
> Problems like this are why SCM is useful even on one-man hobby projects.

That is a great suggestion, why didn't I think of doing that first. I
see that CVS is on the system, so I'm assuming that it can be integrated
 into Xcode easily? I'll search around and see what I can find. Thanks
for the idea.

Signature

-spiff
Never be bullied into silence. Never allow yourself to be made a victim.
Accept no one's definition of your life; define yourself.

Michael Ash - 26 Feb 2005 13:55 GMT
>> The easiest way is to always use a source-code management system like CVS
>> or Subversion, and simply revert your project back to the state it was in
[quoted text clipped - 6 lines]
>  into Xcode easily? I'll search around and see what I can find. Thanks
> for the idea.

Xcode's CVS integration is rather poor, and I personally suggest avoiding
it altogether. I personally use an app called CVL, which is a very nice
GUI app for CVS operations. I believe that similar things exist for
Subversion, although since svn doesn't come with the system you'd have to
go through the fun of installing it.
Florian Zschocke - 26 Feb 2005 17:44 GMT
> Xcode's CVS integration is rather poor, and I personally suggest avoiding
> it altogether. I personally use an app called CVL, which is a very nice
> GUI app for CVS operations. I believe that similar things exist for
> Subversion, although since svn doesn't come with the system you'd have to
> go through the fun of installing it.

I have switched from cvs to subversion. The installation for OSX has become
very simple. Matthew E. Porter provides a good installer. The only thing you
have to make manually, is to add the app-path and to symlink the path so
that xcode will find it. I did not make a lot tests jet but it seams to work
better than cvs. I did not need to use the command line or a gui jet, but
the tasks I use it for are very simple.

Florian
CyberSpiff - 26 Feb 2005 13:20 GMT
>>Alright, I admit, I did something stupid.
>>
[quoted text clipped - 15 lines]
>
> Florian

Thanks Florian. I'm not savvy enough to work my way through the various
files. I'll save your suggestion for a future problem. The way I'm going
it should be long before I break something else ;-)

Signature

-spiff
Never be bullied into silence. Never allow yourself to be made a victim.
Accept no one's definition of your life; define yourself.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.