NSPersistentStoreCoordinator Problem
Hello,
I'm back with a very strange exception my app throws at me:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Cannot create an NSPersistentStoreCoordinator with a nil model'
So I searched around and found some info about cleaning my project but it didn't helped me.
OK, this is thrown by the xmppframework and only if I run my app with the release configuration, it runs fine on the debug config. I tried to hard code some instances inside the xmppframework, but I don't think that's the way to go and it doesn't work either.
Can someone tell me how to solve this problem ?
I'm posting the stack trace too, maybe it will help:
*** Call stack at first throw:
(
0 CoreFoundation 0x01512be9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x013075c2 objc_exception_throw + 47
2 CoreData 0x01109df3 -[NSPersistentStoreCoordinator initWithManagedObjectModel:] + 419
3 iLync 0x0002247a -[XMPPRosterCoreDataStorage persistentStoreCoordinator] + 105
4 iLync 0x00021b2f -[XMPPRosterCoreDataStorage beginRosterPopulationForXMPPStream:] + 89
5 iLync 0x0002147a -[XMPPRoster updateRosterWithQuery:] + 98
6 Foundation 0x001cad4c -[NSThread main] + 81
7 Foundation 0x001cacd8 __NSThread__main__ + 1387
8 libSystem.host.dylib 0x018d581d _pthread_start + 345
9 libSystem.host.dylib 0x018d56a2 thread_start + 34
)
Thanks !
DataSmith
|