Xcode 6.3 freezes/hangs after opening XIB file

前端 未结 10 1318
离开以前
离开以前 2020-12-12 13:35

After upgrading to Xcode 6.3 (release version), Xcode now freeze every time I open a XIB/Storyboard file that includes an IB_DESIGNABLE view that uses a cu

10条回答
  •  温柔的废话
    2020-12-12 14:14

    @O. Kurnenkov's answer worked for me. It didn't have anything to do with IB_Designable nor custom fonts, Cocoapods, etc.

    For some reason having an "Opaque Navigation Bar" causes the nib file (it doesn't seem to affect storyboards) to constantly change y position; this can be seen in the Size Inspector where the y position will flicker between 0 and 64. This is happening to me with Xcode 8.2 (8C38).

    My guess here is that this causes Xcode to constantly update the layout thus draining resources and causing it to hang/freeze.

    The solution is to use any of the "Translucent" options, Inferred, or None.

    Hope this helps!

提交回复
热议问题