iosobjective-cautolayoutcompiler-optimization

Long Compile Time for Big Application


I have big project which autolayout enabled and used for all pages and has 1 storyboard, 60 view controller, more than 90 different view. Compile time takes 90 100 second to finish when something change from storyboard.

How can I shorten project's compile time? I guess autolayout could be the reason of long compile process, where should I look to get a clue for it.

Sorry I don't know which information should I give about project thus please ask if you need to.


Solution

  • You are Divide your storyBoard in Sub-storyboard.

    Main.StoryBoard
    

    Divide To:

    Main1.storyBoard , Main2.storyBoard , Main3.storyBoard 
    

    and each of the storyBoard take 10. ViewController.