我正在尝试使用PhoneGap 3.0开发iOS应用程序。
该应用程序使用ShareKit插件和GAPlugin for PhoneGap,并且在使用PhoneGap 2.9时可以正常工作。
更新后,它可以编译,但当我尝试访问插件中的函数时,它会给我这个错误。
错误:插件'ShareKitPlugin'中未定义'method 'share:'。 2013-07-22 22:05:06.976-[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [ "INVALID", "ShareKitPlugin", "share", [ "test", "http:\/\/www.test.com" ] ]
错误:插件'GAPlugin'中未定义'method 'initGA:'。 2013-07-22 22:05:06.977 -[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [ "GAPlugin1900170756", "GAPlugin", "initGA", [ "UA-XXXXXX-11", 10 ] ]
错误:插件'ShareKitPlugin'中未定义'method 'share:'。 2013-07-22 22:05:06.976-[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [ "INVALID", "ShareKitPlugin", "share", [ "test", "http:\/\/www.test.com" ] ]
错误:插件'GAPlugin'中未定义'method 'initGA:'。 2013-07-22 22:05:06.977 -[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [ "GAPlugin1900170756", "GAPlugin", "initGA", [ "UA-XXXXXX-11", 10 ] ]