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

Crashing with NSManagedObject #15

Closed
mergesort opened this issue Oct 21, 2013 · 2 comments
Closed

Crashing with NSManagedObject #15

mergesort opened this issue Oct 21, 2013 · 2 comments

Comments

@mergesort
Copy link

On line 168 in KZPropertyMapper.m objc_msgSend(instance, NSSelectorFromString(@"setPrimitiveValue:forKey:"), value, mapping);, when it tries to call setValue:withMapping:onInstance: it crashes with an EXC_BAD_ACCESS.

In my testing, this is occurring on an iPhone 5s, but not on a 4s or 5. My suspicion is that this is an issue with the new 64-bit architecture. I'm using MOGenerator to generate the models, but nothing special besides that.

@krzysztofzablocki
Copy link
Owner

Can you try my newest commit? I forgot to do typed call here, might help

@mergesort
Copy link
Author

This fixed the crash.

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

2 participants