Xcode 7 beta 2: LaunchScreen.storyboard could not open document

前端 未结 4 1312
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 13:13

I am getting this error on two different Macs (iMac and Mac Book pro). No idea why people can\'t reproduce it but I need some help.

相关标签:
4条回答
  • 2021-01-04 13:18
    1. Clean Project
    2. Clean derived data

    Wait for reindexing files

    0 讨论(0)
  • 2021-01-04 13:22

    Open the LaunchScreen.storyboard in text mode and look for any anomaly.

    You can also remove it and create a new one as you only have the default UIViewController inside.

    0 讨论(0)
  • 2021-01-04 13:25

    Go to your Target/General and fix the Deployment target. I hope that this helps

    0 讨论(0)
  • 2021-01-04 13:40

    This worked for me on El Capitan.

    Go to

    /Library/Developer/CoreSimulator/Profiles/Runtimes

    and remove the profiles in there. Restart Xcode and it should work!


    For Yosemite users try the following:

    • Open up terminal

    cd Library

    cd Developer

    cd Devices

    rm -rf *

    Also, you can always type ls to list the files and directories. There may be another folder such as Profiles on your machine. Not sure since I only did this on my Yosemite machine that wasn't having issues.

    Restart Xcode, clean, build etc.

    Use sudo if there are any permission issues.

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