AWS SDK S3 Upload Credentails
<p>I have followed this tutorial (<a href="http://docs.aws.amazon.com/mobile/sdkforios/developerguide/setup.html" rel="nofollow">http://docs.aws.amazon.com/mobile/sdkforios/developerguide/setup.html</a>) from AWS for setting up the AWS sdk iOS 9 app using swift and xcode.  I am trying to upload a file to an S3 bucket.  </p>

<p>I added the following code to the AppDelegate.swift file
    // Initialize the Amazon Cognito credentials provider</p>

<pre><code>let credentialsProvider = AWSCognitoCredentialsProvider(regionType:.USEast1,identityPoolId:"mypoolid")

let configuration = AWSServiceConfiguration(region:.USEast1, credentialsProvider:credentialsProvider)

AWSServiceManager.defaultServiceManager().defaultServiceConfiguration = configuration
</code></pre>

<p>I also included the code snippet in the Info.plist file</p>

<pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;NSExceptionDomains&lt;/key&gt;
&lt;dict&gt;
    &lt;key&gt;amazonaws.com&lt;/key&gt;
    &lt;dict&gt;
          &lt;key&gt;NSThirdPartyExceptionMinimumTLSVersion&lt;/key&gt;
          &lt;string&gt;TLSv1.0&lt;/string&gt;
          &lt;key&gt;NSThirdPartyExceptionRequiresForwardSecrecy&lt;/key&gt;
          &lt;false/&gt;
          &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
          &lt;true/&gt;
    &lt;/dict&gt;
    &lt;key&gt;amazonaws.com.cn&lt;/key&gt;
    &lt;dict&gt;
          &lt;key&gt;NSThirdPartyExceptionMinimumTLSVersion&lt;/key&gt;
          &lt;string&gt;TLSv1.0&lt;/string&gt;
          &lt;key&gt;NSThirdPartyExceptionRequiresForwardSecrecy&lt;/key&gt;
          &lt;false/&gt;
          &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
          &lt;true/&gt;
    &lt;/dict&gt;
&lt;/dict&gt;
</code></pre>

<p></p>

<p>but I get this error.  If it wants me to put credentials in Info.plist how would I do this?...or am I doing something else wrong?  Thank you in advance for help.</p>

<pre><code>AWSServiceInfo initWithInfoDictionary:checkRegion:] | 
Couldn't read credentials provider configurations from `Info.plist`. 
Please check your `Info.plist` if you are providing the SDK configuration values through `Info.plist`.
</code></pre>