1

デバイスが動作せず、シミュレーターが動作するという問題を発見しました。この部分をコメントアウトすると、機能します:

[OpenFeint initializeWithProductKey:@"MYKEY" andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]]; 

したがって、次のようになります。

//[OpenFeint initializeWithProductKey:@"MYKEY" andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]];

上記の部分をコメントアウトすると完全に機能しますが、開くフェイントボタンをクリックすると、次のエラーが発生します。

EXC_BAD_ACCESS.

My key を open feint のアプリ キーに置き換え、my secret をアプリのシークレット コードに置き換えます。

フェイントを開くボタンをクリックすると、ファイルに移動し、この部分が緑色で強調表示されます。

[inv invoke]; EXC_BAD_ACCESS

次に、コンソールに入ると、次のようになります。

2012-04-28 08:53:12.076 BalloonsPop[500:707] アプリケーション ウィンドウには、アプリケーションの起動の最後にルート ビュー コントローラーが必要です 関数から終了するまでシングル ステップ +[OpenFeint(Private) launchDashboardWithDelegate:tabControllerName:andControllers: ]、行番号情報がありません。警告: リモート障害応答: E37

試してみるべき提案はありますか?どうもありがとう!

4

1 に答える 1

0

あなたがそうするかどうかはわかりませんが、次のように宣言します。

OpenFeint *openfeint = [OpenFeint initializeWithProductKey:@"MYKEY" 
    andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings
    andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]]; 

これが役立つことを願っています。

于 2012-05-01T11:08:24.583 に答える