模拟器有效,设备不工作?



我发现我在设备上的问题无法正常工作且模拟器正常工作。当我注释掉这部分时,它有效:

[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.

我用我的应用程序密钥替换我的密钥 在公开佯攻中,用我的应用程序的密码替换我的密钥。

当我单击打开佯攻按钮时,它会转到一个文件并以绿色突出显示此部分:

[inv invoke]; EXC_BAD_ACCESS

然后在我的控制台中,当我步入:

2012-04-28 08:53:12.076 气球流行[500:707] 应用程序窗口应在应用程序启动结束时具有根视图控制器 单步执行直到退出函数 +[OpenFeint(Private( launchDashboardWithDelegate:tabControllerName:andControllers:], 没有行号信息。 警告:远程故障回复:E37

有什么建议可以尝试吗?多谢!

我不确定你是否这样做,但我会这样声明:

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

我希望这有所帮助。

相关内容

最新更新