2012-11-08 36 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];