EddystoneScanner-iOS-SDK icon indicating copy to clipboard operation
EddystoneScanner-iOS-SDK copied to clipboard

Thread 1: Fatal error: Index out of range

Open ravinrmenon opened this issue 6 years ago • 6 comments

"Starting scan for Eddystone beacons" Fatal error: Index out of range 2019-04-16 02:36:20.590118-0400 SampleApp[1465:498438] Fatal error: Index out of range warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.

Using your scanner as a part of another application that I am building. This is the error that I get while scanning for more than 2 minutes or so. The scanner crashes and freezes the entire app. I am using the EddystoneScanner-iOS-SDK-1.1.8 downloaded on March 12,2019

ravinrmenon avatar Apr 16 '19 07:04 ravinrmenon

@ravinmendios, I have fixed those issues and the latest version is 1.2.8. Can you please update?

sachinmobstac avatar Apr 17 '19 11:04 sachinmobstac

The problem is that I have changed the ui of the scanner. I don't want to go through the whole process of Redoing the ui again for the updated scanner. Any suggestions would be really appreciated.

ravinrmenon avatar Apr 19 '19 06:04 ravinrmenon

@sachinmobstac After updating to the latest version. I am getting a different runtime error while scanning that is as follows- "Starting scan for Eddystone beacons" 2019-04-23 02:43:54.009161-0400 SampleApp[391:92851] -[__NSCFNumber count]: unrecognized selector sent to instance 0x8000000000000000 2019-04-23 02:43:54.124454-0400 SampleApp[391:91832] -[__NSCFNumber count]: unrecognized selector sent to instance 0x8000000000000000 2019-04-23 02:43:54.179602-0400 SampleApp[391:92851] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber count]: unrecognized selector sent to instance 0x8000000000000000' *** First throw call stack: (0x1e1f97ef8 0x1e1165a40 0x1e1eaf154 0x1e1f9d810 0x1e1f9f4bc 0x10100d540 0x100ee0f2c 0x10100bc3c 0x100ed98e4 0x100d09214 0x100d092d0 0x101005544 0x100cfb2e8 0x100cfaaa4 0x100cfbfac 0x1e7b15c78 0x1e7b16d84 0x1e7b25748 0x1019e3840 0x1019e4de4 0x1019ece88 0x1019edbb4 0x1019eccd8 0x1019edb7c 0x1019f7c18 0x1e1bb20f0 0x1e1bb4d00) 2019-04-23 02:43:54.179602-0400 SampleApp[391:91832] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber count]: unrecognized selector sent to instance 0x8000000000000000' *** First throw call stack: (0x1e1f97ef8 0x1e1165a40 0x1e1eaf154 0x1e1f9d810 0x1e1f9f4bc 0x10100d540 0x100ee0f2c 0x10100bc3c 0x100ed98e4 0x100d09214 0x100d092d0 0x101005544 0x100cfb2e8 0x100cfaaa4 0x100cfbfac 0x1e7b15c78 0x1e7b16d84 0x1e7b25748 0x1019e3840 0x1019e4de4 0x1019ece88 0x1019edbb4 0x1019eccd8 0x1019edb7c 0x1019f7c18 0x1e1bb20f0 0x1e1bb4d00) libc++abi.dylib: terminating with uncaught exception of type NSException libc++abi.dylib: terminating with uncaught exception of type NSException

Please help ,Thank you :)

ravinrmenon avatar Apr 23 '19 06:04 ravinrmenon

Hi @ravinmendios, That's strange. I don't know which version are you using. Please let me know where you are facing the issues?

sachinmobstac avatar May 02 '19 09:05 sachinmobstac

@sachinmobstac I am using the latest version 1.2.8

ravinrmenon avatar May 07 '19 07:05 ravinrmenon

@ravinmendios Can you share your code related to EddystoneScanner usage?

sachinmobstac avatar May 07 '19 08:05 sachinmobstac