Open tangyumeng opened 9 years ago
As a quick fix, you can set ENABLE_STRICT_OBJC_MSGSEND = NO
in your build settings
After some more looking, changing the setting only works if you are not building for arm64. If you want to build for arm64, you need to change the has_many_imp
and belongs_to_imp
to cast objc_msgSend. Something like this:
- (ARLazyFetcher *)accessor{\
NSString *class_name = @""#relative_class"";\
ARLazyFetcher* (*action)(id, SEL, NSString*) = (ARLazyFetcher* (*)(id, SEL, NSString*)) objc_msgSend;\
return action(self, sel_getUid("hasManyRecords:"), class_name);\
}\
In the TestSources Folder ,in issue.m file xcode6 throw an error like this . How can I solve this .