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.