Xcode 6.3 Crashes when navigating from storyboard to other Swift 1.2 file

前端 未结 8 2091
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 23:14

I installed Xcode 6.3 which includes support for Swift 1.2. It turned up a ton of error messages, which are mostly casting issues.

I navigated to the storyboard, an

相关标签:
8条回答
  • 2020-12-12 23:49

    Launching Xcode while holding shift fixed it for me.

    (This suppresses Xcode's state restoration.)


    Update: Xcode 6.3.1, released today, resolves this issue.

    0 讨论(0)
  • 2020-12-12 23:54

    Update Xcode 6.3.1

    For me, everything works !

    0 讨论(0)
  • 2020-12-12 23:58

    It is not a bug anymore since Apple fixed it in Xcode 6.3.1.

    0 讨论(0)
  • 2020-12-13 00:00

    Temporary solution:

    If you have currently opened Assistant Editor switch to another file using alt+click. You can keep your @IBDesignables.

    0 讨论(0)
  • 2020-12-13 00:00

    I can confirm this bug. I was stuck in storyboard and could do nothing to get out of it (couldn't even open the assistant). As a workaround, with the storyboard open, right-click the .storyboard file and select Open As - Source Code. This will switch your storyboard to code and you will be able to then switch to any file.

    0 讨论(0)
  • 2020-12-13 00:02

    I gather from the apple developer forums that this is an @IBDesignable issue. Especially in projects that use custom fonts, additional xibs, etc.

    I have somehow fixed my issue by removing all @IBDesignable from swift UIView class definitions. You can open your project directory with TextMate or other, search and remove all "@IBDesignable"

    However I still think this is a MAJOR bug, that needs to be worked on.. so keep filing bug reports to Apple.

    0 讨论(0)
提交回复
热议问题