Xcode: EXC_BREAKPOINT (EXC_ARM_BREAKPOINT, subcode=0xe7ffdefe)

前端 未结 3 1741
一生所求
一生所求 2020-12-17 16:00

I\'m getting an EXC_BREAKPOINT (EXC_ARM_BREAKPOINT, subcode=0xe7ffdefe) error while running my app on a iOS7 device. The thing is, it runs smoothly on iOS7 simulator.

<
3条回答
  •  温柔的废话
    2020-12-17 16:32

    In my case, this ended up being from a bit overflow issue if you cast too large of a number into too small of a type. E.g. Int(someNumber) if someNumber was an Int64 type.

    iPhone 5c break at the offending line of code:

提交回复
热议问题