{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/745","repository_url":"https://api.github.com/repos/aws/aws-sdk-ios","labels_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/745/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/745/events","html_url":"https://github.com/aws/aws-sdk-ios/issues/745","id":262311807,"node_id":"MDU6SXNzdWUyNjIzMTE4MDc=","number":745,"title":"\"You need to configure `awsconfiguration.json` or `Info.plist` before using this method\"","user":{"login":"jboo1212","id":8954137,"node_id":"MDQ6VXNlcjg5NTQxMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/8954137?v=4","gravatar_id":"","url":"https://api.github.com/users/jboo1212","html_url":"https://github.com/jboo1212","followers_url":"https://api.github.com/users/jboo1212/followers","following_url":"https://api.github.com/users/jboo1212/following{/other_user}","gists_url":"https://api.github.com/users/jboo1212/gists{/gist_id}","starred_url":"https://api.github.com/users/jboo1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboo1212/subscriptions","organizations_url":"https://api.github.com/users/jboo1212/orgs","repos_url":"https://api.github.com/users/jboo1212/repos","events_url":"https://api.github.com/users/jboo1212/events{/privacy}","received_events_url":"https://api.github.com/users/jboo1212/received_events","type":"User","site_admin":false},"labels":[{"id":690072842,"node_id":"MDU6TGFiZWw2OTAwNzI4NDI=","url":"https://api.github.com/repos/aws/aws-sdk-ios/labels/Auth","name":"Auth","color":"d4c5f9","default":false},{"id":690070296,"node_id":"MDU6TGFiZWw2OTAwNzAyOTY=","url":"https://api.github.com/repos/aws/aws-sdk-ios/labels/Core","name":"Core","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-10-03T05:50:41Z","updated_at":"2018-08-27T20:57:06Z","closed_at":"2017-10-04T02:31:49Z","author_association":"NONE","body":"I have completed the \"build a basic backend\" and \"user sign in\" guide and I've downloaded the most recent \"awsconfiguration.json.\"  In the step-by-step guide, it says that all I need to do is have my configuration.json file in the same folder as info.plist which I've done, yet still receive this error.  I'm not sure how I'm supposed to get AWS up and running when nothing seems to be touching the configuration.json file and reading from it...\r\n\r\nAttached are the \"info.plist,\" AppDelegate.Swift, Podfile files.\r\n\r\nBelow is the call stack:\r\n\r\n```\r\n2017-10-02 22:46:10.903415-0700 testingwithamazon[31699:963568] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The service configuration is `nil`. You need to configure `awsconfiguration.json` or `Info.plist` before using this method.'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x00000001115071cb __exceptionPreprocess + 171\r\n\t1   libobjc.A.dylib                     0x000000010e1e9f41 objc_exception_throw + 48\r\n\t2   AWSAuthCore                         0x000000010d7c53ed __44+[AWSIdentityManager defaultIdentityManager]_block_invoke + 205\r\n\t3   libdispatch.dylib                   0x000000011255243c _dispatch_client_callout + 8\r\n\t4   libdispatch.dylib                   0x00000001125539c7 dispatch_once_f + 297\r\n\t5   AWSAuthCore                         0x000000010d7c52f4 +[AWSIdentityManager defaultIdentityManager] + 84\r\n\t6   AWSAuthCore                         0x000000010d7c5c49 __34+[AWSSignInManager sharedInstance]_block_invoke + 153\r\n\t7   libdispatch.dylib                   0x000000011255243c _dispatch_client_callout + 8\r\n\t8   libdispatch.dylib                   0x00000001125539c7 dispatch_once_f + 297\r\n\t9   AWSAuthCore                         0x000000010d7c5b84 +[AWSSignInManager sharedInstance] + 84\r\n\t10  testingwithamazon                   0x000000010d4d5990 _T017testingwithamazon11AppDelegateC11applicationSbSo13UIApplicationC_s10DictionaryVySC0E16LaunchOptionsKeyVypGSg022didFinishLaunchingWithH0tF + 112\r\n\t11  testingwithamazon                   0x000000010d4d675a _T017testingwithamazon11AppDelegateC11applicationSbSo13UIApplicationC_s10DictionaryVySC0E16LaunchOptionsKeyVypGSg022didFinishLaunchingWithH0tFTo + 186\r\n\t12  UIKit                               0x000000010e7b035a -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 267\r\n\t13  UIKit                               0x000000010e7b1db7 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4105\r\n\t14  UIKit                               0x000000010e7b7245 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1720\r\n\t15  UIKit                               0x000000010eb72c6c __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 924\r\n\t16  UIKit                               0x000000010ef403ef +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153\r\n\t17  UIKit                               0x000000010eb72865 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 249\r\n\t18  UIKit                               0x000000010eb730c3 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 668\r\n\t19  UIKit                               0x000000010f4d0c11 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 262\r\n\t20  UIKit                               0x000000010f4d0aca -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 444\r\n\t21  UIKit                               0x000000010f1beb9c __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 420\r\n\t22  UIKit                               0x000000010f3b9c3e _performActionsWithDelayForTransitionContext + 100\r\n\t23  UIKit                               0x000000010f1be998 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 231\r\n\t24  UIKit                               0x000000010ef3fa4c -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392\r\n\t25  UIKit                               0x000000010e7b5ac6 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 523\r\n\t26  UIKit                               0x000000010ed7e523 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 369\r\n\t27  FrontBoardServices                  0x0000000114102158 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 338\r\n\t28  FrontBoardServices                  0x000000011410ac4d __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 235\r\n\t29  libdispatch.dylib                   0x000000011255243c _dispatch_client_callout + 8\r\n\t30  libdispatch.dylib                   0x0000000112557af4 _dispatch_block_invoke_direct + 592\r\n\t31  FrontBoardServices                  0x0000000114136672 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24\r\n\t32  FrontBoardServices                  0x0000000114136328 -[FBSSerialQueue _performNext] + 464\r\n\t33  FrontBoardServices                  0x0000000114136897 -[FBSSerialQueue _performNextFromRunLoopSource] + 45\r\n\t34  CoreFoundation                      0x00000001114aa2b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n\t35  CoreFoundation                      0x0000000111549d31 __CFRunLoopDoSource0 + 81\r\n\t36  CoreFoundation                      0x000000011148ec19 __CFRunLoopDoSources0 + 185\r\n\t37  CoreFoundation                      0x000000011148e1ff __CFRunLoopRun + 1279\r\n\t38  CoreFoundation                      0x000000011148da89 CFRunLoopRunSpecific + 409\r\n\t39  GraphicsServices                    0x0000000114a299c6 GSEventRunModal + 62\r\n\t40  UIKit                               0x000000010e7b8d30 UIApplicationMain + 159\r\n\t41  testingwithamazon                   0x000000010d4d6a57 main + 55\r\n\t42  libdyld.dylib                       0x00000001125ced81 start + 1\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n(lldb) \r\n\r\n```\r\n----------------------------------------------------------------------------------------------\r\n[githubissue.zip](https://github.com/aws/aws-sdk-ios/files/1351252/githubissue.zip)\r\n\r\n* What service are you using? \r\nAWS iOS Mobile Hub SDK with Facebook Signin, DynamoDB\r\n\r\n* In what version of SDK are you facing the problem?\r\n2.6.2\r\n* Is the issue limited to Simulators / Actual Devices?\r\nNo\r\n* Can your problem be resolved if you bump to a higher version of SDK?\r\nNo\r\n* Is this problem related to specific iOS version?\r\nNo\r\n* How are you consuming the SDK? CocoaPods / Carthage / Prebuilt frameworks?\r\nCocoapods"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/comments/416366080","html_url":"https://github.com/aws/aws-sdk-ios/issues/745#issuecomment-416366080","issue_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/745","id":416366080,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjM2NjA4MA==","user":{"login":"ETGgames","id":13756744,"node_id":"MDQ6VXNlcjEzNzU2NzQ0","avatar_url":"https://avatars3.githubusercontent.com/u/13756744?v=4","gravatar_id":"","url":"https://api.github.com/users/ETGgames","html_url":"https://github.com/ETGgames","followers_url":"https://api.github.com/users/ETGgames/followers","following_url":"https://api.github.com/users/ETGgames/following{/other_user}","gists_url":"https://api.github.com/users/ETGgames/gists{/gist_id}","starred_url":"https://api.github.com/users/ETGgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ETGgames/subscriptions","organizations_url":"https://api.github.com/users/ETGgames/orgs","repos_url":"https://api.github.com/users/ETGgames/repos","events_url":"https://api.github.com/users/ETGgames/events{/privacy}","received_events_url":"https://api.github.com/users/ETGgames/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T20:57:06Z","updated_at":"2018-08-27T20:57:06Z","author_association":"NONE","body":"My awsconfiguration.json file has like no data and looks like this: \r\n\r\n`{\r\n  \"UserAgent\": \"MobileHub/1.0\",\r\n  \"Version\": \"1.0\",\r\n  \"CredentialsProvider\": {\r\n    \"CognitoIdentity\": {\r\n      \"Default\": {\r\n        \"PoolId\": \"eu-west-1:3f7e0e1d-568e-48ad-a255-ae4480b809eb\",\r\n        \"Region\": \"eu-west-1\"\r\n      }\r\n    }\r\n  },\r\n  \"IdentityManager\": {\r\n    \"Default\": {}\r\n  },\r\n  \"PinpointAnalytics\": {\r\n    \"Default\": {\r\n      \"AppId\": \"d98bb78926ea49c3b7425204eabc7e48\",\r\n      \"Region\": \"us-east-1\"\r\n    }\r\n  },\r\n  \"PinpointTargeting\": {\r\n    \"Default\": {\r\n      \"Region\": \"us-east-1\"\r\n    }\r\n  }\r\n}\r\n`\r\n\r\nI want to use rekognition on ios (swift), but I cannot add the app id and secret, where do I do this??? "}}
{"actor":{"display_login":"ETGgames"}}