sphero-inc / Sphero-iOS-SDK

🚫 DEPRECATED: Sphero™ is the amazing robotic ball ( sphero.com ) created by Orbotix, this is the repository for the iOS SDK for Sphero™. Visit dev site for more information:
http://sdk.sphero.com
225 stars 81 forks source link

SensorStreaming sample app in beta 3 is broken. #27

Closed sodastsai closed 9 years ago

sodastsai commented 9 years ago

Each time when I open it, it just crashes.

2015-03-25 17:57:52.741 SensorStreaming[46651:2191159] Discovery will not start: Background App  ( start discovery from viewDidAppear, not viewDidLoad )
2015-03-25 18:01:08.870 SensorStreaming[46651:2191159] *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <NSConcreteHashTable: 0x170132840> was mutated while being enumerated.'
*** First throw call stack:
(0x18476e530 0x19572c0e4 0x18476dee4 0x18557924c 0x1000c7bfc 0x1856664ec 0x184726d34 0x184725fd8 0x184724088 0x1846511f4 0x18d9736fc 0x188fe210c 0x1000b61c8 0x195daaa08)
libc++abi.dylib: terminating with uncaught exception of type NSException

sphero-b3-issue

zenelk commented 9 years ago

I have just pushed a commit to the beta branch that has this fixed. Thanks for the report.