Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve one to many relationship in core data in iOS 4.0

I'm now developing an app on iPhone OS with core data, but when I add core data code into app, Xcode throw an error that "to-many relationship entity.relationship option requires iOS 5.0 or later"

How to deal with this problem? or is there another way to replace core data with low cost.

Some info: Base SDK :iOS 5.0 Deployment Target : iOS 4.0

Thanks

like image 847
Yuwen Yan Avatar asked Feb 21 '23 05:02

Yuwen Yan


1 Answers

It's not complaining about the relationship, it's complaining about an option you've set for the relationship. Most likely, this is because you have selected the Ordered option for the relationship, which is only supported in iOS 5 and above.

like image 99
Jim Avatar answered Apr 06 '23 01:04

Jim