1011 ios10 推送问题

2016-10-11 10:22:02.090 Patient[599:60b] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.

2016-10-11 10:22:03.343 Patient[599:60b] Reachability Flag Status: -R -----l- networkStatusForFlags

2016-10-11 10:22:03.393 Patient[599:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'

*** First throw call stack:

(0x2fdc8fd3 0x3a63fccf 0x2fd02acb 0x2fd0c3d1 0x18700b 0x326545a7 0x32653efb 0x3264e58b 0x325ea709 0x325e9871 0x3264dcc9 0x34c56aed 0x34c566d7 0x2fd93ab7 0x2fd93a53 0x2fd92227 0x2fcfcf4f 0x2fcfcd33 0x3264cef1 0x3264816d 0x2eada5 0x3ab4cab7)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb) 

答案:http://www.aspku.com/kaifa/ios/199567.html

/

674174a150e1e5177c15d3e83cc62757e55c26bc710e3de2a03acb5e052a7f6c

/

posted @ 2016-10-11 10:35  zhen_zhen  阅读(119)  评论(0编辑  收藏  举报