Xcode 7 beta 2:LaunchScreen.storyboard无法打开文档 [英] Xcode 7 beta 2: LaunchScreen.storyboard could not open document

查看:188
本文介绍了Xcode 7 beta 2:LaunchScreen.storyboard无法打开文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在两台不同的Mac(iMac和Mac Book pro)上收到此错误。不知道为什么人们无法重现它,但我需要一些帮助。

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.

我在运行<的Mac上运行 Xcode 7 beta 2 (2015年6月23日) strong> OS X Yosemite 10.10.4 。

I am running Xcode 7 beta 2 (23 June '15) on a Mac running OS X Yosemite 10.10.4.

甚至无法编译和运行我的项目..

Can't even compile and run my project..

我创建了一个单一的视图应用程序项目创建菜单,就是这样。

I created a single view application project from the create menu, and that's it.

编辑:

我试图删除并重新添加storyboard文件(也可以打开Main.storyboard cannote),我仍然收到相同的消息。这是崩溃报告:

I tried to delete and re-add the storyboard file (also the Main.storyboard cannote be opened) and I still get the same message. This is the crash report:

Process:               com.apple.CoreSimulator.CoreSimulatorService [2316]
Path:                  /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorService
Identifier:            com.apple.CoreSimulator.CoreSimulatorService
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           com.apple.CoreSimulator.CoreSimulatorService [2316]
User ID:               489132888

Date/Time:             2015-07-08 11:47:46.022 +0100
OS Version:            Mac OS X 10.10.4 (14E11f)
Report Version:        11
Anonymous UUID:        --value--


Time Awake Since Boot: 7500 seconds

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/lib/libwep
  Referenced from: /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorService
  Reason: no suitable image found.  Did find:
    /usr/lib/libwep: mmap() error 1 at address=0x105FB8000, size=0x00003000 segment=__TEXT in Segment::map() mapping /usr/lib/libwep
    /usr/lib/libwep: mmap() error 1 at address=0x105FBF000, size=0x00003000 segment=__TEXT in Segment::map() mapping /usr/lib/libwep

Binary Images:
    0x7fff6a06c000 -     0x7fff6a0a2837  dyld (353.2.1) <72A99D0F-0B56-3938-ABC5-67A0F33757C4> /usr/lib/dyld
    0x7fff843dd000 -     0x7fff8470efff  com.apple.Foundation (6.9 - 1153.20) <F0FF3A5D-C5B7-34A1-9319-DE1EF928E58E> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff89079000 -     0x7fff89411ff7  com.apple.CoreFoundation (6.9 - 1153.18) <5C0892B8-9691-341F-9279-CA3A74D59AA0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8944a000 -     0x7fff8944bff3  libSystem.B.dylib (1213) <17F6DDBE-8FDC-3DD5-8562-76618A81CFE6> /usr/lib/libSystem.B.dylib
    0x7fff8d2f1000 -     0x7fff8d4eb46f  libobjc.A.dylib (647) <759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib


推荐答案

这在El Capitan为我工作。

This worked for me on El Capitan.

转到


/ Library / Developer / CoreSimulator / Profiles / Runtimes

/Library/Developer/CoreSimulator/Profiles/Runtimes

并删除其中的配置文件。
重新启动Xcode,它应该可以工作!

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

对于Yosemite用户,请尝试以下操作:

For Yosemite users try the following:


  • 打开终端


cd图书馆

cd Library

cd开发商

cd Devices

cd Devices

rm -rf *

此外,您始终可以键入 ls 列出文件和目录。您的计算机上可能还有其他文件夹,例如个人档案。不确定,因为我只在我的Yosemite机器上做了这个没有问题。

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.

重新启动Xcode,清理,构建等。

Restart Xcode, clean, build etc.

如果存在任何权限问题,请使用sudo。

Use sudo if there are any permission issues.

这篇关于Xcode 7 beta 2:LaunchScreen.storyboard无法打开文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆