Buglife / Buglife-iOS

Awesome bug reporting for iOS apps
Apache License 2.0
509 stars 63 forks source link

Crash when attempting to rotate arrow #21

Closed leah closed 7 years ago

leah commented 7 years ago

I've noticed our app occasionally crashing when using Buglife.

If you take a screenshot, draw an arrow, then attempt to rotate the arrow with two fingers, the app crashes. It looks like the Buglife is trying to create a new arrow?

The error that appears in the simulator is: Terminating app due to uncaught exception 'NSRangeException', reason: ' -[__NSArrayM replaceObjectAtIndex:withObject:]: index 9223372036854775807 beyond bounds [0 .. 1]'

Any help with this?

schukin commented 7 years ago

Thanks @leah! We've just released Buglife v1.5.2, which fixes this crash (as well as finally adds support for rotating annotations). 👌