我已从此link
下载了Parse Kit我正在使用Xcode 4.5,我正在尝试构建Parse Kit项目,但它正在完成问题,例如如下所示:
以下是ParseKit来源中对问题的描述: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];
答案 0 :(得分:1)
我已将nil添加到此行并且可以正常工作
[[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:descriptionString, nil];
因为方法获得此参数。
答案 1 :(得分:0)
修复是 [[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue] description:@“%@”,descriptionString];