Amazon.com Widgets Xcode won't load
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2013, 10:35:48 PM
Home Help Search chat Login Register   
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan
                     

+  Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+  Old Stuff
| |-+  Help!!!
| | |-+  Xcode won't load
Pages: [1]   Go Down
Print
Author Topic: Xcode won't load  (Read 1442 times)
diggerbyte
Newbie
*
Posts: 14






« on: September 28, 2011, 08:19:59 AM »

Help!!  I was working on Program 21.2.  I closed Xcode and now it won't open.  It just sits there with that spinning wheel.  Is anyone else had this problem?  How did you fix it?  There is no answers on the Apple Developers site at the moment.

« Last Edit: September 28, 2011, 08:21:39 AM by diggerbyte » Logged
fujilla
Global Moderator
Sr. Member
*****
Posts: 270


WWW




« Reply #1 on: September 28, 2011, 09:33:27 AM »

This may be a silly question - have you tried restarting your Mac?
Logged
diggerbyte
Newbie
*
Posts: 14






« Reply #2 on: September 28, 2011, 02:56:59 PM »

Restarting Xcode or rebooting, uninstalling/reinstalling doesn't solve the problem.
« Last Edit: September 28, 2011, 03:45:25 PM by diggerbyte » Logged
fujilla
Global Moderator
Sr. Member
*****
Posts: 270


WWW




« Reply #3 on: September 29, 2011, 01:29:11 AM »

How did you uninstall Xcode?  Did you simply drag the Developer folder to the wastebasket?

The reason I ask is that inside your Developer folder should be a PDF called "About Xcode" which has details of fully uninstalling Xcode using the terminal.

Nick
Logged
diggerbyte
Newbie
*
Posts: 14






« Reply #4 on: September 29, 2011, 01:40:09 AM »

Hi Fujilla

Yes I removed it that way and released it was wrong as I checked the Development Forum and found that file.  In the meantime I have contacted Apple for a solution and haven't heard back from them.  I was waiting for their reply but I can't wait much longer as I have to get on with development.  If I can't get things to work with the terminal I was going to use backups.

I wonder whether I stuffed things when I did that .xib file in Program 21.2?

Regards

Diggerbyte   
Logged
fujilla
Global Moderator
Sr. Member
*****
Posts: 270


WWW




« Reply #5 on: September 29, 2011, 02:03:35 AM »

I don't quite understand what you are saying - Did you simply move your Developer folder to the wastebasket?

I am not sure if what you did with regards to the .xib file would have caused this problem.

Nick
Logged
diggerbyte
Newbie
*
Posts: 14






« Reply #6 on: September 29, 2011, 05:15:58 AM »

Sorry, yes it is confusing - I'm getting frustrated as I just want to get into the coding and finish the book. I couldn't get Program 21.2 to work so I closed Xcode but then I thought I should work through each file to ensure I have the structure correct as I saw more material on this site to help me.  When I tried to start Xcode again that's when Xcode wouldn't load.  I did the transfer of the Development folder to the wastebasket as I read some other people did that but I soon found that was a waste of time.  I then checked more at the Apple Development site and then thought I had better contact Apple as to what is the correct method to remove Xcode as I am new to mac.  When I try to run Xcode it looks like there are two instances of Xcode running.  I'm thinking maybe I didn't close Xcode correctly as there might have been something working in the background (like Fraction_Calculator) as I had several projects open at the time.  Apple still haven't got back to me so I am going to try and fix things right now. 

Regards
Diggerbyte
Logged
fujilla
Global Moderator
Sr. Member
*****
Posts: 270


WWW




« Reply #7 on: September 29, 2011, 05:24:58 AM »

I suggest you use the following command in terminal which removes the Xcode developer tools as well as the Xcode directory:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all

This should get rid of anything that was left lying around from your drag to the wastebasket.

Nick
Logged
diggerbyte
Newbie
*
Posts: 14






« Reply #8 on: September 29, 2011, 05:47:42 AM »

Trying it now.  Getting:

sudo: Developer/Library/uninstall-devtools: command not found

when I try to run:

sudo Developer/Library/uninstall-devtools --mode=all

Any thoughts on why I'm getting this response?

Thanks in advance
Diggerbyte
Logged
fujilla
Global Moderator
Sr. Member
*****
Posts: 270


WWW




« Reply #9 on: September 29, 2011, 06:08:07 AM »

Unfortunately I am not that hot on terminal commands.  Saying that you did type a different command to what I copied from the PDF.  I realise you don't need the $ as that is the command prompt, however you used Developer instead of <Xcode>.  Any reason why?

What I would do is do a search for uninstall-devtools as this is simply a command line executable file, then see if that would run.

If I go to:
Macintosh HD/Library/Developer/4.1 I can see that file.
Logged
diggerbyte
Newbie
*
Posts: 14






« Reply #10 on: September 29, 2011, 06:20:52 AM »

Oh, I really have a problem.

I emptied the trash, closed all Terminal sessions.  Opened terminal and ran the command string.  It removed Xcode.  I checked the Trash and rebooted.  I re-installed Xcode and again it won't load!

There must be something else to do to ensure a clean removal.

Diggerbyte
Logged
diggerbyte
Newbie
*
Posts: 14






« Reply #11 on: September 29, 2011, 06:59:06 AM »

I tried something different.  I forced Xcode to stop working.  I moved the Fraction_Calculator Project directory icon and dropped in on the Xcode icon.  I used Mission Control to see that I had three screens working under Xcode. I selected Fraction_Calculator and brought it to the foreground.  In the small window in the middle-top of the project screen it said that Xcode is "indexing 4 out of 9 files".  I waited until all nine files were re-indexed. then closed all the open projects.

Xcode now works fine.

Fujila - Thanks for those suggestions.  Just to let you know you can't use <Xcode> in the terminal string as <Xcode> is not  a directory.  The system will not process the file uninstall-devtools in the /Library directory i think this is because you need the sudo permissions to process the file.  When you process the sudo command string sudo Developer/Library/uninstall-devtools --mode=all you have to provide your password.

Regards
Diggerbyte
« Last Edit: September 29, 2011, 07:25:08 AM by diggerbyte » Logged
Pages: [1]   Go Up
Print
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.