{"action":"created","issue":{"url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/241","repository_url":"https://api.github.com/repos/mixpanel/mixpanel-swift","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/241/comments","events_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/241/events","html_url":"https://github.com/mixpanel/mixpanel-swift/issues/241","id":362404346,"node_id":"MDU6SXNzdWUzNjI0MDQzNDY=","number":241,"title":"XCode 10 GM - Crash on Tapping push notifications (2.5.0)","user":{"login":"samwarfield","id":5303872,"node_id":"MDQ6VXNlcjUzMDM4NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/5303872?v=4","gravatar_id":"","url":"https://api.github.com/users/samwarfield","html_url":"https://github.com/samwarfield","followers_url":"https://api.github.com/users/samwarfield/followers","following_url":"https://api.github.com/users/samwarfield/following{/other_user}","gists_url":"https://api.github.com/users/samwarfield/gists{/gist_id}","starred_url":"https://api.github.com/users/samwarfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwarfield/subscriptions","organizations_url":"https://api.github.com/users/samwarfield/orgs","repos_url":"https://api.github.com/users/samwarfield/repos","events_url":"https://api.github.com/users/samwarfield/events{/privacy}","received_events_url":"https://api.github.com/users/samwarfield/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-20T23:31:38Z","updated_at":"2018-09-21T07:16:35Z","closed_at":null,"author_association":"NONE","body":"```\r\nThread 1: closure argument passed as @noescape to Objective-C has escaped: \r\nfile /mixpanel-swift/Mixpanel/AutomaticEvents.swift, line 289, column 77\r\n```\r\n\r\n<img width=\"721\" alt=\"screen shot 2018-09-20 at 4 21 57 pm\" src=\"https://user-images.githubusercontent.com/5303872/45851807-96539380-bcf1-11e8-843a-a39785fc5d84.png\">\r\n\r\n\r\n```\r\n0    Mixpanel                           0x0000000104ccfa30 NSObject.userNotificationCenter(_:newDidReceive:withCompletionHandler:) + 648\r\n1    Mixpanel                           0x0000000104ccff6c @objc NSObject.userNotificationCenter(_:newDidReceive:withCompletionHandler:) + 124\r\n2    UIKitCore                          0x00000001c3704f48 <redacted> + 3444\r\n3    UIKitCore                          0x00000001c3f14fa0 <redacted> + 2432\r\n4    UIKitCore                          0x00000001c3ed42f8 <redacted> + 772\r\n5    UIKitCore                          0x00000001c3ed40f8 <redacted> + 432\r\n6    UIKitCore                          0x00000001c3f17768 <redacted> + 220\r\n7    UIKitCore                          0x00000001c3f182c4 _performActionsWithDelayForTransitionContext + 112\r\n8    UIKitCore                          0x00000001c3f17604 <redacted> + 248\r\n9    UIKitCore                          0x00000001c3f108a0 <redacted> + 368\r\n10   UIKitCore                          0x00000001c371d76c <redacted> + 468\r\n11   FrontBoardServices                 0x000000019986c4bc <redacted> + 228\r\n12   libdispatch.dylib                  0x00000001080acdd4 _dispatch_client_callout + 16\r\n13   libdispatch.dylib                  0x00000001080b0944 _dispatch_block_invoke_direct + 232\r\n14   FrontBoardServices                 0x00000001998aa618 <redacted> + 40\r\n15   FrontBoardServices                 0x00000001998aa12c <redacted> + 416\r\n16   FrontBoardServices                 0x00000001998aa8b0 <redacted> + 56\r\n17   CoreFoundation                     0x0000000196dca5a0 <redacted> + 24\r\n18   CoreFoundation                     0x0000000196dca4e0 <redacted> + 88\r\n19   CoreFoundation                     0x0000000196dc9d6c <redacted> + 176\r\n20   CoreFoundation                     0x0000000196dc48d8 <redacted> + 1040\r\n21   CoreFoundation                     0x0000000196dc4404 CFRunLoopRunSpecific + 436\r\n22   GraphicsServices                   0x0000000199038520 GSEventRunModal + 100\r\n23   UIKitCore                          0x00000001c36ef484 UIApplicationMain + 212\r\n```\r\n\r\n_Originally posted by @samwarfield in https://github.com/mixpanel/mixpanel-swift/issue_comments#issuecomment-423366393_"},"comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/comments/423438101","html_url":"https://github.com/mixpanel/mixpanel-swift/issues/241#issuecomment-423438101","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/241","id":423438101,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzQzODEwMQ==","user":{"login":"piers12","id":37227905,"node_id":"MDQ6VXNlcjM3MjI3OTA1","avatar_url":"https://avatars2.githubusercontent.com/u/37227905?v=4","gravatar_id":"","url":"https://api.github.com/users/piers12","html_url":"https://github.com/piers12","followers_url":"https://api.github.com/users/piers12/followers","following_url":"https://api.github.com/users/piers12/following{/other_user}","gists_url":"https://api.github.com/users/piers12/gists{/gist_id}","starred_url":"https://api.github.com/users/piers12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piers12/subscriptions","organizations_url":"https://api.github.com/users/piers12/orgs","repos_url":"https://api.github.com/users/piers12/repos","events_url":"https://api.github.com/users/piers12/events{/privacy}","received_events_url":"https://api.github.com/users/piers12/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T07:16:35Z","updated_at":"2018-09-21T07:16:35Z","author_association":"NONE","body":"@jmirota your project shouldn't build if it is on Swift 4.2 and the Mixpanel pod is a lower version, so shouldn't crash. \r\nI had to take it out of my project last week and brought it back in today and it is working. I ran pod Install and then pod update. \r\nI only have local notifications and not push notifications at the moment, so can't help on that crash I'm afraid.\r\n"}}
{"actor":{"display_login":"piers12"}}