문제

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