nicklockwood / AutoCoding

AutoCoding is a category on NSObject that provides automatic support for NSCoding and NSCopying to every object.
Other
1.07k stars 131 forks source link

Exception when using with Core Data #3

Closed dimitar-lazarov closed 11 years ago

dimitar-lazarov commented 11 years ago

Steps to reproduce:

When Lightweight Migration is triggered the app crashes with the following exception:

*\ Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid property passed to setProperties: property has nil name or is an NSExpressionDescription.'

nicklockwood commented 11 years ago

Would you mind providing a sample project? It will help me to fix it faster.

dimitar-lazarov commented 11 years ago

Sure - will do it ASAP.

dimitar-lazarov commented 11 years ago

Here is a link to sample project zip file.

https://gist.github.com/intruder/5115908

nicklockwood commented 11 years ago

Thanks for the test project, it was a big help. This is now fixed in version 1.3.1 (I've also updated the Podspec, so you should be able to update your Podfile and pull the update automatically).

dimitar-lazarov commented 11 years ago

Thanks for the good work Nick. I'm glad that it helped. ;)