Got strange errors in logs.

I'm developing for iOS, after a while i'm getting the following error lines:
*** ERROR: this process has called an NSArray-taking method, such as initWithArray:, and passed in an NSSet object. This is being worked-around for now, but will soon cause you grief


I guess it related to the CoreData with iCloud enabled.
I have some relationships (one to many).
I'm using NSMutableArray for such variables. But by default Xcode uses NSOrderedSet.


But not sure what is wrong?


Please, help.

All you need to do is convert the ordered set to an array before you use it in the method that takes an NSArray. Like this:

...initWithArray:theSet.array];
Got strange errors in logs.
 
 
Q