MetaWear-SDK-iOS-macOS-tvOS icon indicating copy to clipboard operation
MetaWear-SDK-iOS-macOS-tvOS copied to clipboard

SDK bug

Open ghost opened this issue 2 years ago • 1 comments

Hello. I am developing an iOS application that will receive data from your device's gyroscope. For this, I use your SDK. While developing the application, I encountered an error. When I'm connected to a device via my app, my app crashes if anyone else connects to the device. XCode complains on board property of MetaWear class: EXC_ BAD_ACCESS. Could you give me any advice or fix this problem?

ghost avatar Aug 03 '22 12:08 ghost

That exception arises from invalid access of memory. Two things to check, without seeing any code:

  1. Are you on the SDK's specific DispatchQueue?
  2. Are you storing the pointer to the board and accessing it later when it may no longer be valid?

importRyan avatar Jan 19 '23 17:01 importRyan