On the installation of Xcode7.2 above, to solve the coding card card several methods

Source: Internet
Author: User

Remember the previous period of time, listen to a few friends said that after installing Xcode7.2 above version, it will not be happy to play the code. And, for a long time not resolved, and even installed back to 7.0 version, still very card, seriously affect the work. A friend gave me an example, he in Xcode input "opposite sister don't Mess", waited for 30 seconds or so, this string of text only belated appearance in the comments. The doubts about Xcode, OSX, and computer hardware have been created. I think this is not very reliable, after all, people so big company, how can make such a problem, so many elites in, what problem is uncertain. So I think there should be a part of the reasons for the user, combined with personal experience, I give the following suggestions.

First, check the online solution, enter the following code in the interrupt

Defaults write Com.apple.dt.XCode ideindexdisable 1

Because usually the time card, always show "index" has been turned chrysanthemum, turn this off, it can indeed improve some efficiency. However, it is not possible to view the class of the document, the click Method will not jump to the inside of the method, this method is a little chicken. So, you just open it up. Open the code as follows, also in the terminal input

Defaults write Com.apple.dt.XCode ideindexdisable 0

This method, you have tried other methods also have no effect, can come back to consider.

Two, in the case of Xcode running very card, you open Xcode, choose Prefererces, put sourece control to do the following settings Refresh local status automatically with Add and remove files Automatically tick off, I have tried, it can improve speed, run a little smoother.

Third, some people because after installing the cocoapods, when opening the project, will not card. After I tried, I found that because the Cocoapods installation is not correct, this situation generally appears on beginners. The solution is to reinstall the Cocoapods once. The method of installation, there are many online, here is no longer verbose.

Four, this is a silly but can be a good solution to the problem. That is, you do not store your project in too deep folder, or not to the external mobile hard disk, USB stick. In this way, in the non-implementation of a temporary, will also be a good solution. When you see this, you must have pulled the project to the table. Just open it and try it, is it OK to play the code again happily.

In summary, the computer generally has 4G, running Xcode Basic is no problem, and now the computer is generally 8G. So sometimes encounter problems, do not immediately suspect the hardware, it may be possible to find out from their own reasons, whether the use of improper.

(as described above, purely personal views, if not, please forgive me)

On the installation of Xcode7.2 above, to solve the coding card card several methods

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.