bugs

2016-09-04 10:24:14.503 Scgl[1035:341694] 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-09-04 10:24:14.681 Scgl[1035:341694] remoteNotificationUserInfo - (null)
Scgl(1035,0x16e19f000) malloc: *** error for object 0x103b45a90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

  

解决方法:PORJECT --> Capabilities --> Background Modes --> Background fetch & Remote notifications -->选中为on 状态

  

原文地址:https://www.cnblogs.com/tanglimei/p/5838745.html