2012-11-08 34 views
0

我从这个link解析工具包构建项目问题

我使用的Xcode 4.5,我试图建立解析套件项目下载解析工具,但它与像下面的例子问题整理:

它是上线问题的说明下面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]; 

回答

1

我已经加入到零这一行,它工作

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

因为方法得到这个参数。

0

修复程序为 [[NSAssertionHandler currentHandler] handleFailureInFunction:functionString file:fileString lineNumber:(NSInteger)[lineNumber longValue]描述:@“%@”,descriptionString];