xcode 9 (9A235) horrible performance...

So i updated xcode to 9 after seeing this in the app store


The source code editor has been completely rebuilt for amazing speed. It scrolls at a constantly smooth rate, no matter the files size.


wait

what

cause for now im just force quitting every hour when everything freezes over


swift code highligth/completion is still broken.

and speed is still amazingly super slow.

oh and opening a storyboard still takes forever


someone needs to explain to me how can an editor become so useless


I miss the days i was working with visual studio 😟

.. "just set your device in storyboard to iPhone X" is not working for me.


- Tried to delete Storyboard and create new one: No effect.


- Tried to delete DerivedData and Caches:

  1. remove
    '~/Library/Developer/Xcode/DerivedData/'
  2. remove
    '~/Library/Caches/com.apple.dt.Xcode'

No effect.


- Tried to set navigation Bars "Top Bar" and/or "Bottom Bar" to "Inferred" : Same beachball.


The only thing that really helps ist to toggle off: " Use Auto Layout", "Use Trait Variantions" and "Use Safe Area Layout Guides" in the ViewController under "Interface Builder Document". But this delets all my constraints. Toggle on these features again produces the same beachballing at every click.

I'm wondering if this is related to multiple XCode upgrades on projects. My project started out on Xcode 7. Each Xcode major upgrade my storyboard has become consistently slower. Perhaps a change in the storyboard syntax or features where the backaward compatibility is getting messed up. It would be nice for Apple to acknowledge this issue and work with this forum to find the root cause.

I always used CMD-click to jump to a definition.

In XCode9 the popover first presents and then I click on jump to Definition, but the popover is terribly slow (and I even think it is not deallocating its resources).


SOLUTION: I just found out that I should use CTRL-CMD-click now, to skip the popover and JUMP immediately to the definition!

xcode 8.2.1 download or not my project install all sdk developerdiskimage but ios 11 os not run ...

I'm not even using storyboards, still, SourceKitService is consuming enormous amount of RAM and CPU.

I don't remember what thread I read it on, but if you go into Interface Builder and in the menu item EDITOR uncheck the item AUTOMATICALLY REFRESH VIEWS. This stops it from rebuilding everytime you press a key.


Still no way to resolve the 100% CPU and GIGS of memory used up on SourceKitService. I just Force Unload it periodically through Activity Monitor. That is the only way I can keep it working so I am not constantly waiting.

I'm new to xcode, but this can't be right:


  1. Open a new project (single view)
  2. Delete the view controller on the storyboard
  3. Add a Navigation Controller (which also adds a tableview)
  4. Change the tableview to static cells / grouped
  5. Configure the section to have 1 row
  6. Adjust cell height to 162
  7. Add a date picker to that cell
  8. Set date picker constraints for leading/top/traili ng/bottom = 0 to make it fit inside the cell
  9. Change the table view to have 4 sections - this will copy the section 3 times

    This is already painfullly slow... But this shows how slow:
  10. Select a cell and try to scroll content in the Interface Builder.


This must be a BUG.


Can't log a bug, because signing in to the BUG reporter takes me back to the login screen.

I was facing the same issue...


But after changeing "Swift 3 @objc inference" from default to On my Xcode is working much faster

When the storyboard is open, you can disable the automatic refresh of views (from the Editor menu). This saved me a lot of headache.

When the storyboard is open, you can disable the automatic refresh of views (from the Editor menu). This saved me a lot of headache.

.. your right.

But still not good at all.

Beachball drops from 5 to 3 minutes.

Wow...I have confirmed your basic project setup does indeed start to observe the issues. I have a bug open and will inform Apple of these steps. But, p[lease open your too!


Btw, I have had issues getting into the Bug Reporter as well. Seems intermittent. Possibly a load balancing issues where one or more backend servers are not configured correctly. That is what the symptom tells me from my experience...guess another bugto open.

Phewww. Horribly slow, this is my first time getting into Xcode to start my journey, but greeted with snail speed.

Hi Duncan, the same problem here, see also my post on this topic.


Jan

u r also right


but try it with Utilities inspector off.. it'll increase performance


This may bring your Beachball from 3 to 2 😀

xcode 9 (9A235) horrible performance...
 
 
Q