Facebook iPhone SDK,应用程序在iOS 4.2之前崩溃,但在iOS 4.2+中工作正常 [英] Facebook iPhone SDK, App crashed in pre iOS 4.2, But works fine in iOS 4.2+

查看:103
本文介绍了Facebook iPhone SDK,应用程序在iOS 4.2之前崩溃,但在iOS 4.2+中工作正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用我的iPhone应用程序,需要在Facebook上共享一个图像链接。似乎一切都OK,在iOS4.2以上的工作正常。但在iOS4.2之前,由于exc_bad_access没有任何错误日志,应用程序崩溃。我试图追踪这种不良访问发生的情况,但无法追踪(我尝试使用nszombieenabled)

I'm working on my iPhone app which needs to share an image link on Facebook. It seems everything is ok and working fine on iOS4.2 or more. But in pre iOS4.2 the app is crashing due to exc_bad_access without any error log. I've tried to trace where this bad access is happening but failed to trace.(I tried nszombieenabled)

任何可以建议我任何想法?感谢提前。

Any can suggest me any idea? Thanks in advance.

推荐答案

我遇到同样的问题。代码中没有问题。默认的Facebook应用程序图标是* .gif文件。这是导致崩溃。我刚刚从developer.facebook.com改变了Facebook应用程序的图标,然后运行正常。

I faced the same problem. There was no problem in the code. The default Facebook app icon is a *.gif file. Which was causing the crash. I just changed the Icon of the Facebook app from developer.facebook.com and then it worked fine.

这篇关于Facebook iPhone SDK,应用程序在iOS 4.2之前崩溃,但在iOS 4.2+中工作正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆