{"action":"created","issue":{"url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/161","repository_url":"https://api.github.com/repos/mixpanel/mixpanel-swift","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/161/comments","events_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/161/events","html_url":"https://github.com/mixpanel/mixpanel-swift/issues/161","id":277571679,"number":161,"title":"Crash on Mixpanel.initialize(token: \"MY_TOKEN\")","user":{"login":"normdoow","id":21371266,"avatar_url":"https://avatars3.githubusercontent.com/u/21371266?v=4","gravatar_id":"","url":"https://api.github.com/users/normdoow","html_url":"https://github.com/normdoow","followers_url":"https://api.github.com/users/normdoow/followers","following_url":"https://api.github.com/users/normdoow/following{/other_user}","gists_url":"https://api.github.com/users/normdoow/gists{/gist_id}","starred_url":"https://api.github.com/users/normdoow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normdoow/subscriptions","organizations_url":"https://api.github.com/users/normdoow/orgs","repos_url":"https://api.github.com/users/normdoow/repos","events_url":"https://api.github.com/users/normdoow/events{/privacy}","received_events_url":"https://api.github.com/users/normdoow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-28T23:11:04Z","updated_at":"2017-12-01T18:48:48Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI am using mixpanel-swift: 2.2.2\r\nusing Swift 4\r\nCurrently testing on iOS 11\r\n\r\nI am having a crash just after calling `Mixpanel.initialize(token: \"MY_TOKEN\")` inside of Appdelegate's didFinishLaunchingWithOptions function.\r\n\r\nIt appears that the crash is happening in the background and i am not able to catch it to see what the stack trace is. Here is where the debugger stops it when it crashes in the Mixpanel-swift/Complete/UIViewSelectors.swift file...\r\n\r\n<img width=\"1118\" alt=\"screen shot 2017-11-28 at 6 02 53 pm\" src=\"https://user-images.githubusercontent.com/21371266/33349180-12a3f5c0-d467-11e7-8d86-dbeb5e771cbe.png\">\r\n\r\nIs there any way i can get a better error log so we can better know what this issue is? Is there anything that I am doing wrong?\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/comments/348576519","html_url":"https://github.com/mixpanel/mixpanel-swift/issues/161#issuecomment-348576519","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-swift/issues/161","id":348576519,"user":{"login":"pchien","id":1988432,"avatar_url":"https://avatars1.githubusercontent.com/u/1988432?v=4","gravatar_id":"","url":"https://api.github.com/users/pchien","html_url":"https://github.com/pchien","followers_url":"https://api.github.com/users/pchien/followers","following_url":"https://api.github.com/users/pchien/following{/other_user}","gists_url":"https://api.github.com/users/pchien/gists{/gist_id}","starred_url":"https://api.github.com/users/pchien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchien/subscriptions","organizations_url":"https://api.github.com/users/pchien/orgs","repos_url":"https://api.github.com/users/pchien/repos","events_url":"https://api.github.com/users/pchien/events{/privacy}","received_events_url":"https://api.github.com/users/pchien/received_events","type":"User","site_admin":false},"created_at":"2017-12-01T18:48:48Z","updated_at":"2017-12-01T18:48:48Z","author_association":"CONTRIBUTOR","body":"Those events shouldn't be going through this code path. If you set `enableVisualEditorForCodeless` to `false` it should stop you from editing codeless events. If that doesn't stop the crash, you might have to remove currently tracking codeless events. I wonder if it's caused by an event that's tracking on a view that you've changed since you set up tracking? I'm not sure exactly how that case works."}}
{"actor":{"display_login":"pchien"}}