Frage

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];
War es hilfreich?

Lösung

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.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top