0

スタックオーバーフロー会員の皆様、こんにちは。

PhoneGap を使用するのはこれが初めてで、プロジェクト「Hello World」を作成し、Xcode で開いた後、シミュレーターで実行しようとすると、次のビルド エラーが発生します。

Unknown type name '_commandQueue'; did you mean 'CDVCommandQueue'?
Expected identifier or '('
Unknown receiver '_commandQueue'; did you mean 'CDVCommandQueue'?
No known class method for selector 'resetRequestId'
Unknown receiver '_commandQueue'; did you mean 'CDVCommandQueue'?
No known class method for selector 'fetchCommandsFromJs'
Unknown receiver '_commandQueue'; did you mean 'CDVCommandQueue'?
No known class method for selector 'dispose'
Property 'commandQueue' requires method 'commandQueue' to be defined - use @synthesize,      @dynamic or provide a method implementation in this class implementation

万が一、これらのエラーを修正する方法を知っている人はいますか?

Xcode v4.3.3 と最新バージョンの PhoneGap を使用しています。

お時間をいただきありがとうございます。

ジョナサン。

4

1 に答える 1

1

行を追加します

@synthesize commandQueue = _commandQueue;

__initメソッドの前に再構築します。

于 2013-01-16T15:23:53.010 に答える