我正在尝试在Swift(Xcode 6.4)中创建一个游戏,我收到了这个错误:
EXC_BREAKPOINT(代码= 1,子代码= 0x100695474)
在控制台中:
false 2015-08-02 11:14:35.248 Taxi Smash [3996:1485308] G 1019致命错误:在展开可选值(lldb)时意外发现nil
继续记录:
libswiftCore.dylib`function signature specialization <Arg[0] = Exploded, Arg[1] = Exploded, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt) -> ():
0x100695448 <+0>: stp x29, x30, [sp, #-16]!
0x10069544c <+4>: mov x29, sp
0x100695450 <+8>: sub sp, sp, #16
0x100695454 <+12>: and w8, w2, #0x1
0x100695458 <+16>: tbnz w8, #0, 0x100695478 ; <+48>
0x10069545c <+20>: tbnz x1, #63, 0x100695568 ; <+288>
0x100695460 …Run Code Online (Sandbox Code Playgroud)