Вопрос

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];
Это было полезно?

Решение

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.

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top