XCode lag when switching between files?
I am using XCode 7.2.1 and Yosemite, and suddenly XCode lags when trying to switch between ViewControllers. I have tried many solutions suggested in internet:
1. Clear Derived Data
2. Clear Archives
3. Disable Spotlight Indexing
These somewhat make XCode works faster when building apps, but lags is still there when Im switching btw viewcontroller and/or xib files.
The lag also happens intermittently. Which makes it hard to figure out what's causing the problem. Then I searched further and found some people talking about TOOLTIPS in Apple Forum.
It seems to be the root cause. If you have files with long filenames (such as below):
Everytime your mouse hovers those truncated filenames, XCode tries to show tooltip for it, and that's when the lag happens.
What you do? Just WIDEN THE LEFT PANE. This seems to work for me. Do note though- after you widen it, and then you narrow it back, it becomes totally ok only after a while, it lags again. Just leave the pane widened till there is no "..." in the file names and you'd be okay all the way.
This is really funny problem I hope XCode devs team fix it soon.
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteI haven't said anything to thank you for this post. Rather, I'm amazed that such a brilliant writer wrote this article. We appreciate the knowledge you shared. Your profile is attached to this email. It has been helpful to many people random address generator. A bogus address is created with a street number, location, city, state, and zip code.
ReplyDelete