{"action":"created","issue":{"url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh/issues/4","repository_url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh","labels_url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh/issues/4/comments","events_url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh/issues/4/events","html_url":"https://github.com/BruceBuckland/SignIn-awsmhh/issues/4","id":186349758,"number":4,"title":"Can't integrate this work to own project","user":{"login":"Domsware","id":385357,"avatar_url":"https://avatars.githubusercontent.com/u/385357?v=3","gravatar_id":"","url":"https://api.github.com/users/Domsware","html_url":"https://github.com/Domsware","followers_url":"https://api.github.com/users/Domsware/followers","following_url":"https://api.github.com/users/Domsware/following{/other_user}","gists_url":"https://api.github.com/users/Domsware/gists{/gist_id}","starred_url":"https://api.github.com/users/Domsware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Domsware/subscriptions","organizations_url":"https://api.github.com/users/Domsware/orgs","repos_url":"https://api.github.com/users/Domsware/repos","events_url":"https://api.github.com/users/Domsware/events{/privacy}","received_events_url":"https://api.github.com/users/Domsware/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-31T17:44:49Z","updated_at":"2016-11-02T17:01:38Z","closed_at":null,"body":"After spending some time studying this project, I want to integrate it in my own project. Hélas, without success.\r\n\r\n## What I have done\r\nReplaced `AWSMobileHubHelper.framework` and `ViewController.swift` obtained at AWS Mobile console by _SignIn-awsmhh_'s. \r\n \r\n## Problem\r\nApp crashed after few seconds with following error:\r\n`*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM removeObjectForKey:]: key cannot be nil'`\r\n\r\nThis seems to be related to Identity Pool Configuration as stated by the log:\r\n```\r\nAWSiOSSDK v2.4.11 [Debug] AWSURLSessionManager.m line:553 | -[AWSURLSessionManager printHTTPHeadersForResponse:] | Response headers:\r\n{\r\n    Connection = \"keep-alive\";\r\n    \"Content-Length\" = 143;\r\n    \"Content-Type\" = \"application/x-amz-json-1.1\";\r\n    Date = \"Mon, 31 Oct 2016 17:28:24 GMT\";\r\n    \"x-amzn-ErrorMessage\" = \"Invalid identity pool configuration. Check assigned IAM roles for this pool.\";\r\n    \"x-amzn-ErrorType\" = \"InvalidIdentityPoolConfigurationException:\";\r\n    \"x-amzn-RequestId\" = \"6d551129-9f8f-11e6-93ad-1f2317c04f0e\";\r\n}\r\n```\r\n\r\n`AWSKeys.xcconfig` is the same as in the SignIn-awsmhh project."},"comment":{"url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh/issues/comments/257929194","html_url":"https://github.com/BruceBuckland/SignIn-awsmhh/issues/4#issuecomment-257929194","issue_url":"https://api.github.com/repos/BruceBuckland/SignIn-awsmhh/issues/4","id":257929194,"user":{"login":"BruceBuckland","id":19410759,"avatar_url":"https://avatars.githubusercontent.com/u/19410759?v=3","gravatar_id":"","url":"https://api.github.com/users/BruceBuckland","html_url":"https://github.com/BruceBuckland","followers_url":"https://api.github.com/users/BruceBuckland/followers","following_url":"https://api.github.com/users/BruceBuckland/following{/other_user}","gists_url":"https://api.github.com/users/BruceBuckland/gists{/gist_id}","starred_url":"https://api.github.com/users/BruceBuckland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BruceBuckland/subscriptions","organizations_url":"https://api.github.com/users/BruceBuckland/orgs","repos_url":"https://api.github.com/users/BruceBuckland/repos","events_url":"https://api.github.com/users/BruceBuckland/events{/privacy}","received_events_url":"https://api.github.com/users/BruceBuckland/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T17:01:38Z","updated_at":"2016-11-02T17:01:38Z","body":"@Domsware \r\nAs long as you choose Use Legacy Swift Language version\" set to YES (on the project and the target, because the target can override) then Xcode 8 compiles using Swift 2.3.\r\n\r\nGlad you are \"Out of the woods\".\r\n\r\nI have been having trouble with the Swift 3 conversion especially when I try to use the full demo and all it's features.  I am getting crashes on:\r\n\r\nI am going to make a tag stays unchanged with basic enhancements for aws-mobilehub-helper-ios and push that to github\r\n\r\nFor SignIn-awsmhh I am going to make the master branch Swift 2 compatible and  then I will create separate changes on a master-Swift-3 branch.  \r\n\r\nSo don't pull master till I do that.  I will post something here when I do it."}}
{"actor":{"display_login":"BruceBuckland"}}