Xcode 7testing版2:LaunchScreen.storyboard无法打开文档

我在两个不同的Mac(iMac和Mac Book pro)上出现这个错误。 不知道为什么人们不能重现它,但我需要一些帮助。

在这里输入图像说明

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

甚至不能编译和运行我的项目..

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

编辑:

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

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工作。

/库/开发商/ CoreSimulator /概况/运行时

并删除那里的configuration文件。 重新启动Xcode,它应该工作!


对于优胜美地用户,请尝试以下方法:

  • 打开terminal

CD库

光盘开发者

cd设备

rm -rf *

此外,您始终可以键入ls列出文件和目录。 在您的机器上可能有另一个文件夹,如configuration文件。 不知道,因为我只在我的优胜美地机器上做这个没有问题。

重新启动Xcode,清理,生成等

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

转到您的目标/常规并修复部署目标。 我希望这个对你有用

在文本模式下打开LaunchScreen.storyboard并查找任何exception。

你也可以删除它,并创build一个新的,因为你只有默认的UIViewController里面。

  1. 清洁项目
  2. 清理派生的数据

等待重新索引文件