iOS で PhoneGap/Cordova 2.0 にアップグレードしたばかりですが、JSONKit.m で複数の警告が表示されます。
警告には、(1)「書式文字列の問題」と(2)「セマンティックの問題」の 2 つのクラスがあります。
「フォーマット文字列の問題」の例を次に示します。
/Users/macuser/Documents/CordovaLib/Classes/JSON/JSONKit.m:745:180: Format specifies type 'unsigned long' but the argument has type 'NSUInteger' (aka 'unsigned int')
「セマンティック問題」の例を次に示します。
/Users/macuser/Documents/CordovaLib/Classes/JSON/JSONKit.m:2600:11: Direct access to objective-c's isa is deprecated in favor of object_setClass() and object_getClass()
Lion、Xcode 4.4 を使用しています。
この警告が以前は発生していなかったのに、現在発生している理由の手がかりはありますか?
ありがとう!