我在iOS应用程序中使用Facebook iOS SDK v4.1。申请处于发展状态。我想邀请Facebook好友分享应用程序。 我关注This Document。
我创建了appLink。还清楚AppLink。使用Facebook测试用户,我已经成功调用了FBSDKAppInviteDialog。我也可以选择朋友发送邀请。
我的问题是,
当我点击取消按钮时,查看来自Facebook应用程序到我的应用程序和应用程序崩溃。错误:
2015-05-07 15:45:03.065 [1795:576380] app invite result: {
didComplete = 1;
}
2015-05-07 15:45:03.075 [1795:576380] -[__NSCFDictionary valueForComplexKeyPath:]: unrecognized selector sent to instance 0x14fafe40
2015-05-07 15:45:03.081 [1795:576380] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary valueForComplexKeyPath:]: unrecognized selector sent to instance 0x14fafe40'
在成功选择朋友并选择邀请按钮时,它会回到应用程序并且应用程序崩溃。错误:
2015-05-07 15:48:17.777 [1803:578622] app invite result: {
completionGesture = cancel;
didComplete = 1;
}
2015-05-07 15:48:17.791 [1803:578622] -[__NSCFDictionary valueForComplexKeyPath:]: unrecognized selector sent to instance 0x176965e0
2015-05-07 15:48:17.800 [1803:578622] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary valueForComplexKeyPath:]: unrecognized selector sent to instance 0x176965e0'