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

前端 未结 8 2084
隐瞒了意图╮
隐瞒了意图╮ 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-13 00:04

    A temporary solution:

    By opening a "New Window" (same project).

    One for the code, one for the storyboard or reduce first, work freely with second window.

    You can keep your @IBDesignables


    EDIT : Bug fixed -> Update Xcode 6.3.1

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

    Here's how I get around this strange bug:

    1. Before launching Xcode, rename the storyboard file in finder so that Xcode won't find it (e.g. add the extension .temp)
    2. Launch Xcode - works fine even if it hanged before since it cannot display the storyboard editor
    3. Open a new window in Xcode
    4. Rename the storyboard file to its original name
    5. In the new window in Xcode - select the storyboard - Xcode does not hang
    6. Minimize the new window and work as usual in the original window. Now you can select any file - even the storyboard - without Xcode hanging

    One problem remains, though, at least for me. Every time I select a file or edit something, Xcode needs to recompile the storyboard. Haven't solved that one yet.

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