novastone-media / MQTT-Client-Framework

iOS, macOS, tvOS native ObjectiveC MQTT Client Framework
Other
1.84k stars 466 forks source link

nil is not a legal NSPersistentStoreCoordinator for searching for entity name 'MQTTFlow' #587

Open kuchmiyalex opened 3 years ago

kuchmiyalex commented 3 years ago

Getting crashes stats while disconnecting from stream. Possibly due to calling this function not from main thread. Any idea how to fix this?

Fatal Exception: NSInvalidArgumentException +entityForName: nil is not a legal NSPersistentStoreCoordinator for searching for entity name 'MQTTFlow' WebsocketMQTTStream.handleNetworkStatus(_:)

fantexi023 commented 2 years ago

I faced this question,too. no body maintains the framework?

stevema commented 2 years ago

Getting crashes stats while disconnecting from stream. Possibly due to calling this function not from main thread. Any idea how to fix this?

Fatal Exception: NSInvalidArgumentException +entityForName: nil is not a legal NSPersistentStoreCoordinator for searching for entity name 'MQTTFlow' WebsocketMQTTStream.handleNetworkStatus(_:)

How you fix this bug?