Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTTPersistence always present ? #591

Open
fr3ns1s opened this issue May 21, 2021 · 0 comments
Open

MQTTPersistence always present ? #591

fr3ns1s opened this issue May 21, 2021 · 0 comments

Comments

@fr3ns1s
Copy link

fr3ns1s commented May 21, 2021

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''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant