MQTTPersistence always present ?
fr3ns1s opened this issue · 0 comments
fr3ns1s commented
iOS 14.4 - pod version: 0.15.3
i'm init the sessionManager like this:
MQTTCoreDataPersistence *persistence = [[MQTTCoreDataPersistence alloc]init];
persistence.persistent = NO;
self.manager = [[MQTTSessionManager alloc] init];
self.manager.session.persistence = persistence;
self.manager.delegate = self;
but inside the log i'm reading:
[MQTTPersistence] Persistent store: /var/mobile/Containers/Data/Application/B3675593-6028-46DE-95FE-4A42E7D8659E/Documents/MQTTClient
this because i had this bug
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+entityForName: nil is not a legal NSPersistentStoreCoordinator for searching for entity name 'MQTTFlow''