Hello.
I have a crash in my Application. I have a backtrace and how I understand you cat to fix it.
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x185e4c22c __exceptionPreprocess
1 libobjc.A.dylib 0x197ac00e4 objc_exception_throw
2 CoreFoundation 0x185e4c16c -[NSException initWithCoder:]
3 CoreFoundation 0x185d3521c -[__NSCFNumber compare:]
4 CoreFoundation 0x185d351a0 -[__NSCFNumber isEqualToNumber:]
5 CR 0x1002d0ca4 -[QueryOptions isEqualToQuery:] (QueryOptions.m:135)
6 CR 0x10029f5bc -[BackendlessDataQuery isEqualToQuery:] (BackendlessDataQuery.m:84)
Line 135 in class QueryOptions. This line try compare number(relationsDepth) with nil and we have crash. How I can see in the init method we don’t create default value to relationsDepth. Maybe problem in with it?
Thank you.
Sergey