Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Speed up build time on IOS

Discussion in 'iOS and tvOS' started by danUnity, Feb 22, 2021.

  1. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229
    Hi,

    It takes like 30+ minutes to build the Xcode project with Unity using my Laptop and it takes even more time like around 45 minutes to build the Xcode project into my Iphone 7.

    That's like 1h15 minutes to build on my iPhone at least... That's kinda crazy to do that every time I want to test one simple change...

    What am I doing wrong? Is it normal? Is there a faster way to do this? Is it suppose to be faster and my MacBook pro has an issue or something?

    Really looking for ways to speed up the process to something more manageable...

    Thanks!
     
  2. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229
    Looks like it's much faster when on release mode and not debug mode! It takes only 20 minutes total in Release mode!

    Anybody else noticed the same thing??
     
  3. Petras-Unity

    Petras-Unity

    Unity Technologies

    Joined:
    Oct 7, 2020
    Posts:
    24
    That does sound crazy! Even 20 minute release build sounds like too much.
    What kind of hardware do you have? Could you check how long it would take to build a new empty unity project in xcode?
     
  4. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229
    Hi @Petras-Unity !

    This is the Mac I have (should be fine normally, it's not that old):

    upload_2021-2-27_16-49-2.png

    I'll test with an empty project when I get the time