{"action":"created","issue":{"url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/63","labels_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/63/comments","events_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/63/events","html_url":"https://github.com/nuclearace/Socket.IO-Client-Swift/issues/63","id":91867397,"number":63,"title":"Crash on ack","user":{"login":"hanssl","id":649957,"avatar_url":"https://avatars.githubusercontent.com/u/649957?v=3","gravatar_id":"","url":"https://api.github.com/users/hanssl","html_url":"https://github.com/hanssl","followers_url":"https://api.github.com/users/hanssl/followers","following_url":"https://api.github.com/users/hanssl/following{/other_user}","gists_url":"https://api.github.com/users/hanssl/gists{/gist_id}","starred_url":"https://api.github.com/users/hanssl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanssl/subscriptions","organizations_url":"https://api.github.com/users/hanssl/orgs","repos_url":"https://api.github.com/users/hanssl/repos","events_url":"https://api.github.com/users/hanssl/events{/privacy}","received_events_url":"https://api.github.com/users/hanssl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-29T17:55:50Z","updated_at":"2015-06-29T22:15:14Z","closed_at":null,"body":"I have a basic single page project (objective C).  I added 1 pod to the project.  I created a simple function, configureRealtimeSocket(),  to implement the sample code.  I call this function from the app delegate applicationDidBecomeActive().\r\n\r\nI get a crash when the ack() call executes.  I have tried changing the params to this function but I still get a crash regardless.\r\n\r\nAlso, If I comment out the ack() line or the 'currentAmount' event handler then the socket does not connect.  \r\n\r\nI added the [socket onAny...] event handler.  This event handler executes successfully as long as I leave the first 'currentAmount' handler in the code.  The socket does not connect if the first event handler is disabled.\r\n\r\n![screen shot 2015-06-29 at 11 49 11 am](https://cloud.githubusercontent.com/assets/649957/8414506/c557a128-1e55-11e5-8966-9a96a06cd44b.png)\r\n![screen shot 2015-06-29 at 11 49 37 am](https://cloud.githubusercontent.com/assets/649957/8414507/c55f01a2-1e55-11e5-827a-46d090900b13.png)\r\n"},"comment":{"url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/comments/116862213","html_url":"https://github.com/nuclearace/Socket.IO-Client-Swift/issues/63#issuecomment-116862213","issue_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/63","id":116862213,"user":{"login":"hanssl","id":649957,"avatar_url":"https://avatars.githubusercontent.com/u/649957?v=3","gravatar_id":"","url":"https://api.github.com/users/hanssl","html_url":"https://github.com/hanssl","followers_url":"https://api.github.com/users/hanssl/followers","following_url":"https://api.github.com/users/hanssl/following{/other_user}","gists_url":"https://api.github.com/users/hanssl/gists{/gist_id}","starred_url":"https://api.github.com/users/hanssl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanssl/subscriptions","organizations_url":"https://api.github.com/users/hanssl/orgs","repos_url":"https://api.github.com/users/hanssl/repos","events_url":"https://api.github.com/users/hanssl/events{/privacy}","received_events_url":"https://api.github.com/users/hanssl/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T22:15:14Z","updated_at":"2015-06-29T22:15:14Z","body":"I have logging enabled.  \r\n![screen shot 2015-06-29 at 4 14 20 pm](https://cloud.githubusercontent.com/assets/649957/8419797/03468598-1e7a-11e5-9c2d-5c871b16457a.png)\r\nHere is the status when the crash occurs."}}