Question

I have downloaded Parse Kit from this link

I am using Xcode 4.5 and i am trying to build Parse Kit project, but it is finishing with issues for example like below:

it is description of issue on the line below in ParseKit's sources: Format not a string literal and no format arguments. But I notice that I have not changed any just build it and run. Anybody has got the same issue?

[[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:descriptionString];
Was it helpful?

Solution

I have added nil to this line and it works

[[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:descriptionString, nil];

because method get this parameter.

OTHER TIPS

Fix is [[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:@"%@", descriptionString];

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top