2015-03-03 42 views
9
1. While reading from /Users/darren/Library/Developer/Xcode/DerivedData/WeCenterMobile-bwpkitagnenydnenhulzpfhbjnvm/Build/Intermediates/WeCenterMobile.build/Debug-iphoneos/WeCenterMobile.build/Objects-normal/arm64/UIView+UserInfo~partial.swiftmodule 
2. While deserializing decl #2 (EXTENSION_DECL) 
3. While deserializing decl #31 (XREF) 
4. Cross-reference to module 'WeCenterMobile' 
    ... Msr 
    ... UI 
    ... _Detail 
5. While deserializing 'Indicator' (ClassDecl #20) 
6. While deserializing decl #66 (XREF) 
7. Cross-reference to module 'WeCenterMobile' 
    ... Msr 
    ... UI 
    ... in an extension in module 'WeCenterMobile' 
    ... AutoExpandingView 
8. While deserializing 'Segment' (ClassDecl #14) 
9. While deserializing decl #54 (XREF) 
10. Cross-reference to module 'WeCenterMobile' 
    ... Msr 
    ... UI 
    ... in an extension in module 'WeCenterMobile' 
    ... AutoExpandingView 
11. While deserializing 'DefaultSegment' (ClassDecl #17) 

这是编译器崩溃日志,任何人都可以帮忙?我正在使用Swift 1.2,Xcode 6.3 Beta 2无法编译Swift源文件。分段错误:11

有这么多的代码,所以我不能在这个页面上发布它们。请给我一些提示,以查找错误。

+0

你有'UIView + UserInfo'文件吗?错误可能来自那里。 – lchamp 2015-03-03 09:15:36

+0

我在输入模块的名称中输入拼写错误时,经常发生分段错误。 而错误消息是相当无益的! – Gwendle 2015-03-03 09:27:17

+0

@lchamp:感谢您的帮助,但是我没有在最新的提交后改变它。现在我已经通过恢复到以前的版本解决了这个问题... – MsrButterfly 2015-03-03 10:10:49

回答

1

我刚刚遇到了这个问题,并设法通过删除派生数据并清理项目和构建文件夹来修复它。

希望这可以解决您的问题。