Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 31, 2007, 11:27 AM   #1
MCS
macrumors newbie
 
Join Date: Nov 2006
Location: UK
Annoying beachball in XCode - normal?

Hi,

I'm having a really weird problem, or should I rather say annoyance, with XCode (2.4.1). Whenever I start it up for the first time I get a beachball for over a minute before I can actually do anything.
The beachball appears whenever I try to open any window in XCode after startup (preferences, a project etc.). After the first window is there and the ball is gone I never see it again.
I tried reinstalling XCode, same problem. Reinstalling OS X (not because of this problem) same annoying beachball in XCode. As I said it's not really a problem because everything works fine after the beachball has vanished but it is a major nuisance if I want to get started and have to sit there watching the ball spinning (I cant even quit XCode while it's in that state but all other programs work fine while XCode is starting up). Any suggestions on what this could be? Or is this normal behaviour?
Someone suggested to me, that it could be the indexing for 'code sense' which is bogging the startup down but I tried deactivating that with no change and anyway why would it index anything without a single project open and me just trying to open up the preferences?

Any advice would be welcome,

Mark

Btw the system I'm running XCode on is a new MacBook Pro, 2.33GHz and 2GB RAM
MCS is offline   0 Reply With Quote
Old Mar 31, 2007, 12:37 PM   #2
Eraserhead
macrumors G4
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: UK
It doesn't do that for me, I have a MB 2Ghz with 2GB RAM, I was gonna say "hardware problem" but your hardware is highly speced.
__________________
Actually it does make sense. Man created god, so if we exist, He exists. - obeygiant
Eraserhead is offline   0 Reply With Quote
Old Mar 31, 2007, 02:27 PM   #3
bronxbomber92
macrumors regular
 
Join Date: Nov 2006
I get this problem as well. What version of Mac OS X are you using? I noticed mine started happening around the time I upgraded to 10.4.8, and also Unity (the 3D game engine) also stoped working when I upgraded. I know there is a problem with very few Intel macs on 10.4.8+ (I believe it has something to do with prebinding). I don't know how to fix though
bronxbomber92 is offline   0 Reply With Quote
Old Mar 31, 2007, 06:52 PM   #4
MCS
Thread Starter
macrumors newbie
 
Join Date: Nov 2006
Location: UK
I'm currently using a fully patched 10.4.9 system.
MCS is offline   0 Reply With Quote
Old Apr 1, 2007, 09:45 AM   #5
kpua
macrumors 6502
 
Join Date: Jul 2006
The most useful thing to do in this case would be to actually run Shark or Sampler on Xcode and find out what the heck it's doing that is taking up so much time. If it happens every time this shouldn't be too hard to do. Then you could submit a bug to Apple and they can fix it.
kpua is offline   0 Reply With Quote
Old Apr 1, 2007, 10:23 AM   #6
lazydog
macrumors 6502a
 
Join Date: Sep 2005
Location: Cramlington, UK
Send a message via MSN to lazydog
Xcode has slowed down for me since 10.4.9.

b e n
lazydog is offline   0 Reply With Quote
Old Apr 1, 2007, 07:21 PM   #7
Legolamb
macrumors 6502a
 
Legolamb's Avatar
 
Join Date: Nov 2006
Location: North of where I'd like to be
Since 10.4.9, the only thing I've noticed that my InterfaceBuilder window sometimes "lost" First Responder when setting up a Carbon application project, but that's working now. No other slow down or problems.
Legolamb is offline   0 Reply With Quote
Old Apr 2, 2007, 12:15 PM   #8
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Is it trying to access anything on a server that isn't mounted, like having projects in the "Recent Items" menu that are not available? Or maybe it is checking for updates when your Internet connection is down?

Start Activity Monitor first and check what is going on.
gnasher729 is offline   0 Reply With Quote
Old Apr 2, 2007, 12:41 PM   #9
GeeYouEye
macrumors 68000
 
GeeYouEye's Avatar
 
Join Date: Dec 2001
Location: State of Denial
Send a message via AIM to GeeYouEye Send a message via Yahoo to GeeYouEye
Make sure distributed build is turned off unless you're actually using it.
__________________
I bring order to chaos. You are in chaos Windows, you are the contradiction, a bug wishing to be an OS.
Visit Softyards Software
NEW DEFINITION OF GEEK
Like politics, free speech, computers, entertainment, and more? Join us at Wordforge.net

Last edited by GeeYouEye; Apr 30, 2007 at 12:15 PM.
GeeYouEye is offline   0 Reply With Quote
Old Apr 3, 2007, 06:35 AM   #10
MCS
Thread Starter
macrumors newbie
 
Join Date: Nov 2006
Location: UK
Well distributed building is turned off and all my projects are stored on my internal harddrive. And updates and such things shouldn't be a problem as I'm connected to the net permanently and the connection shouldn't be a bottleneck either as it's a dedicated 10MBit line.
I filed a bug report with Apple so I'll just have to wait and see if something changes.
MCS is offline   0 Reply With Quote
Old Apr 22, 2007, 11:39 PM   #11
MCS
Thread Starter
macrumors newbie
 
Join Date: Nov 2006
Location: UK
OK, as there were other people in this thread that seemed to have the same problem I thought I should post the solution to the problem. It seems that the culprit was distributed building after all which is odd as I have completely deactivated it. Here's what I did to resolve the issue:

- In the preference window of XCode go to the 'Distributed Builds' option
- Make sure that there are no ticks in any of the option boxes (as was already the case with me)
- Unlock the preferences to be able to make changes (click on the padlock)
- In the first option ('Share my computer for shared workgroup builds (distcc)') make sure the CPU priority is set to 'low priority' (With me it was on high by default)

After that change XCode should not freeze when opening it for the first time. As I said I find this weird as I have all options for distributed builds deactivated so I don't see how this option should affect performance in the first place.
MCS is offline   0 Reply With Quote
Old Apr 25, 2007, 01:34 AM   #12
-::ubermann::-
macrumors regular
 
Join Date: Sep 2006
mm not for me, i have newest version and its fast, also i have only 512MB RAM
-::ubermann::- is offline   0 Reply With Quote
Old Nov 8, 2007, 04:56 PM   #13
mcmuffy
macrumors newbie
 
Join Date: Jan 2007
Waking an old thread I know but I have this problem with a 2gb ram IMAC (new style) running leopard. Xcode does run but only after a minute or so of beach ball.

Ray
mcmuffy is offline   0 Reply With Quote
Old Nov 8, 2007, 10:53 PM   #14
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Quote:
Originally Posted by mcmuffy View Post
Waking an old thread I know but I have this problem with a 2gb ram IMAC (new style) running leopard. Xcode does run but only after a minute or so of beach ball.
I'm assuming Xcode 3? Did you do a clean install of Leopard or an Archive and Install?

You could always install Xcode 2.5 (works alongside 3.0).
kainjow is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Moving from xcode 3.2 to xcode 4.5.2 compilation error for 'abs' macro in stdlib.h hrishidev Mac Programming 7 Jun 2, 2013 10:36 AM
An odd situation, to beachball, or not to beachball, that is the question. negativzero MacBook Pro 5 Apr 20, 2013 01:08 PM
Beachball in Finder macchristy Mac mini 10 Mar 4, 2013 03:45 PM
Should I be getting beachball on rmbp 13? unbelievable99 MacBook Pro 2 Dec 27, 2012 09:12 AM
is that normal?batteryis it normal?battery talaada101 iPhone Tips, Help and Troubleshooting 0 Jun 4, 2012 08:51 PM

Forum Jump

All times are GMT -5. The time now is 08:14 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC