{"action":"opened","issue":{"url":"https://api.github.com/repos/Swinject/Swinject/issues/4","labels_url":"https://api.github.com/repos/Swinject/Swinject/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Swinject/Swinject/issues/4/comments","events_url":"https://api.github.com/repos/Swinject/Swinject/issues/4/events","html_url":"https://github.com/Swinject/Swinject/issues/4","id":108113342,"number":4,"title":"Exception on registering simple service / component","user":{"login":"benjamincombes","id":138637,"avatar_url":"https://avatars.githubusercontent.com/u/138637?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamincombes","html_url":"https://github.com/benjamincombes","followers_url":"https://api.github.com/users/benjamincombes/followers","following_url":"https://api.github.com/users/benjamincombes/following{/other_user}","gists_url":"https://api.github.com/users/benjamincombes/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamincombes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamincombes/subscriptions","organizations_url":"https://api.github.com/users/benjamincombes/orgs","repos_url":"https://api.github.com/users/benjamincombes/repos","events_url":"https://api.github.com/users/benjamincombes/events{/privacy}","received_events_url":"https://api.github.com/users/benjamincombes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T11:36:34Z","updated_at":"2015-09-24T11:36:34Z","closed_at":null,"body":"Hi,\r\nI'm making tests to consider using Swinject in a new project (it looks great :) !) ; however, anytime I try to use it, I get a runtime exception.\r\nI tried with a simple code to create a container and register service / component ; and when running the application, I had a runtime exception:\r\nException: EXC_BREAKPOINT (code=1, subcode=0x120031088))\r\n![capture d ecran 2015-09-24 a 13 30 44](https://cloud.githubusercontent.com/assets/138637/10072335/0c0e733a-62c1-11e5-9c41-bb52f014dc34.png)\r\n\r\nIn order to be sure the problem didn't come from my code, I simply copied your sample code, what resulted in the same exception on this part of code :\r\ncontainer.register(AnimalType.self) {\r\n      _ in Cat(name: \"Mimi\")\r\n}\r\n\r\nI'm using Xcode 7.0 (7A220), OSX 10.11 (15A278b), and added Swinject via Carthage.\r\nDo you have any idea of what might cause this, am I doing something wrong ?\r\nThanks a lot for your help."}}