0 swift 0x00000001061e5608 llvm::sys::printstacktrace(__sfile*) + 401 swift 0x00000001061e5af4 SignalHandler(int) + 4522 libsystem_platform.dylib 0x00007fff894da5aa _sigtramp + 263 libsystem_platform.dylib 0xb03939841e997c88 _sigtramp + 25047754164 swift 0x00000001064c8bb9 swift::NominalTypeDecl::getMembers(bool) const + 415 swift 0x00000001055efab9 swift::irgen::ClassMetadataLayout<(anonymous namespace)::FindClassMethodindex>::addClassMembers(swift::ClassDecl*) + 3296 swift 0x00000001055e97b2 swift::irgen::emitVirtualMethodValue(swift::irgen::IRGenFunction&,llvm::Value*,swift::SILType,swift::SILDeclRef,swift::CanTypeWrapper<swift::SILFunctionType>,swift::ResilIEnceExpansion) + 4347 swift 0x00000001056550d3 swift::SILVisitor<(anonymous namespace)::IRGenSILFunction,voID>::visit(swift::ValueBase*) + 426118 swift 0x000000010564a266 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 86789 swift 0x00000001055cb6f8 swift::irgen::IRGenModule::emitGlobaltopLevel() + 18410 swift 0x00000001056376e3 performIRGeneration(swift::IRGenoptions&,swift::Module*,swift::SILModule*,llvm::StringRef,llvm::LLVMContext&,swift::Sourcefile*,unsigned int) + 185911 swift 0x0000000105638033 swift::performIRGeneration(swift::IRGenoptions&,swift::Sourcefile&,unsigned int) + 5112 swift 0x00000001055aa65a frontend_main(llvm::ArrayRef<char const*>,char const*,voID*) + 484213 swift 0x00000001055a935d main + 153314 libdyld.dylib 0x00007fff8a82e5fd start + 1
1. While emitting IR SIL function @_TFCSo6UIVIEwg6heightSd for 'anonname=0x7ff422892fd0' at <path redacted>/UIVIEwExtension.swift:60:5<unkNown>:0: error: unable to execute command: Segmentation fault: 11<unkNown>:0: error: swift frontend command Failed due to signal (use -v to see invocation)Command /Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift Failed with exit code 254
如果需要更多的信息来破解这个,只是评论。谢谢!
编辑:
这里是一个相关的.xcodeproj返回这个问题的编译器错误。 Download here
我有这个错误,因为我这样做:if(currentMeal?.State == .Deleted){}
代替
if(currentMeal!.State == .Deleted){}
所以我认为可选未解包在if条件可能会导致此错误
总结以上是内存溢出为你收集整理的Swift编译器分割错误时建立全部内容,希望文章能够帮你解决Swift编译器分割错误时建立所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)