[英]Simulator Works, Device Doesn't?
我发现我的设备无法运行且模拟器无法运行的问题。 当我注释掉这部分时,它起作用:
[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 BalloonsPop [500:707]应用程序窗口应在应用程序启动结束时具有根视图控制器。单步执行,直到从函数+ [OpenFeint(Private)launchDashboardWithDelegate:tabControllerName:andControllers退出: ],没有行号信息。 警告:远程故障回复:E37
有什么建议可以尝试吗? 非常感谢!
我不确定是否可以,但是我会这样声明:
OpenFeint *openfeint = [OpenFeint initializeWithProductKey:@"MYKEY"
andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings
andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]];
我希望这有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.