About Swift: Execution was interrupted, reason: EXC_BAD_INSTRUCTION (code=EXC_1386_INVOP, subcode=0x0)

后端 未结 2 887
失恋的感觉
失恋的感觉 2020-12-22 04:42

I am just learning to code so I decided to start with Swift. I am following the tour that mac has for it at here and I am at the section where it is calculating a sum of num

2条回答
  •  感情败类
    2020-12-22 05:29

    For me this error happened because an implicitly unwrapped property was not set. Setting it would fix the issue.

提交回复
热议问题