Search Unity

Optimum Settings to speed up Xcode indexing and compiling

Discussion in 'iOS and tvOS' started by eco_bach, Mar 21, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    So using Xcode 8.2.1

    Noticing extremely slow indexing and then Building - compiling times.

    What are some steps and trick I can implement to reduce these long times?

    Starting in Unity, what Build Settings should I use for development(pre release)? I'm already enabling 'Symlink libraries'.

    I googled an came across several links about Disable Dsym file, but don't think these apply to latest Unity 5.5.2.
    http://answers.unity3d.com/questions/486660/xcode-unity-takes-ages-compiling.html

    And then in Xcode, what are some things I might try as well to reduce these times?
     
  2. SweatyChair

    SweatyChair

    Joined:
    Feb 15, 2016
    Posts:
    140
    I would like to know too, anyone?
     
  3. r-pedra

    r-pedra

    Joined:
    Dec 4, 2015
    Posts:
    104
    The main problem is that Unity generate a LOT of code and so indexing takes a lot of time.
    You can disable indexing.

    The only way we reduced the time it takes to compile is to upgrade hardware. We switched from an iMac to the last MacBook Pro and its compiling 30% faster than before.
     
  4. travelsound84

    travelsound84

    Joined:
    Jan 15, 2014
    Posts:
    34
    what is indexing even for?
    I usually just press Build and it immediately starts building.