Skip to content

Commit 5664fca

Browse files
author
AWS
committed
The AWS Mobile SDK for iOS 2.5.7.
1 parent ba33e83 commit 5664fca

File tree

106 files changed

+438
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+438
-191
lines changed

AWSAPIGateway.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'AWSAPIGateway'
4-
s.version = '2.5.6'
4+
s.version = '2.5.7'
55
s.summary = 'Amazon Web Services SDK for iOS.'
66

77
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
1414
:tag => s.version}
1515
s.requires_arc = true
16-
s.dependency 'AWSCore', '2.5.6'
16+
s.dependency 'AWSCore', '2.5.7'
1717

1818
s.source_files = 'AWSAPIGateway/*.{h,m}'
1919
end

AWSAPIGateway/AWSAPIGatewayClient.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
static NSString *const AWSAPIGatewayAPIKeyHeader = @"x-api-key";
2525

26-
static NSString *const AWSAPIGatewaySDKVersion = @"2.5.6";
26+
static NSString *const AWSAPIGatewaySDKVersion = @"2.5.7";
2727

2828
static int defaultChunkSize = 1024;
2929

AWSAPIGateway/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSAutoScaling.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AWSAutoScaling'
3-
s.version = '2.5.6'
3+
s.version = '2.5.7'
44
s.summary = 'Amazon Web Services SDK for iOS.'
55

66
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -12,6 +12,6 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
1313
:tag => s.version}
1414
s.requires_arc = true
15-
s.dependency 'AWSCore', '2.5.6'
15+
s.dependency 'AWSCore', '2.5.7'
1616
s.source_files = 'AWSAutoScaling/*.{h,m}'
1717
end

AWSAutoScaling/AWSAutoScalingService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#import "AWSAutoScalingResources.h"
2727

2828
static NSString *const AWSInfoAutoScaling = @"AutoScaling";
29-
static NSString *const AWSAutoScalingSDKVersion = @"2.5.6";
29+
static NSString *const AWSAutoScalingSDKVersion = @"2.5.7";
3030

3131

3232
@interface AWSAutoScalingResponseSerializer : AWSXMLResponseSerializer

AWSAutoScaling/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSCloudWatch.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AWSCloudWatch'
3-
s.version = '2.5.6'
3+
s.version = '2.5.7'
44
s.summary = 'Amazon Web Services SDK for iOS.'
55

66
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -12,6 +12,6 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
1313
:tag => s.version}
1414
s.requires_arc = true
15-
s.dependency 'AWSCore', '2.5.6'
15+
s.dependency 'AWSCore', '2.5.7'
1616
s.source_files = 'AWSCloudWatch/*.{h,m}'
1717
end

AWSCloudWatch/AWSCloudWatchService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#import "AWSCloudWatchResources.h"
2727

2828
static NSString *const AWSInfoCloudWatch = @"CloudWatch";
29-
static NSString *const AWSCloudWatchSDKVersion = @"2.5.6";
29+
static NSString *const AWSCloudWatchSDKVersion = @"2.5.7";
3030

3131

3232
@interface AWSCloudWatchResponseSerializer : AWSXMLResponseSerializer

AWSCloudWatch/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSCognito.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AWSCognito'
3-
s.version = '2.5.6'
3+
s.version = '2.5.7'
44
s.summary = 'Amazon Cognito SDK for iOS'
55

66
s.description = 'Amazon Cognito offers multi device data synchronization with offline access'
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
:tag => s.version}
1414
s.requires_arc = true
1515
s.library = 'sqlite3'
16-
s.dependency 'AWSCore', '2.5.6'
16+
s.dependency 'AWSCore', '2.5.7'
1717
s.source_files = 'AWSCognito/*.{h,m}', 'AWSCognito/**/*.{h,m}'
1818
s.public_header_files = 'AWSCognito/*.h', 'AWSCognito/CognitoSync/*.h'
1919
s.private_header_files = 'AWSCognito/Fabric/*.h', 'AWSCognito/Internal/*.h'

AWSCognito/AWSCognitoService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#import "Fabric+FABKits.h"
3535

3636
static NSString *const AWSInfoCognito = @"Cognito";
37-
static NSString *const AWSCognitoSDKVersion = @"2.5.6";
37+
static NSString *const AWSCognitoSDKVersion = @"2.5.7";
3838

3939
NSString *const AWSCognitoDidStartSynchronizeNotification = @"com.amazon.cognito.AWSCognitoDidStartSynchronizeNotification";
4040
NSString *const AWSCognitoDidEndSynchronizeNotification = @"com.amazon.cognito.AWSCognitoDidEndSynchronizeNotification";

AWSCognito/CognitoSync/AWSCognitoSyncService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#import "AWSCognitoSyncResources.h"
2727

2828
static NSString *const AWSInfoCognitoSync = @"CognitoSync";
29-
static NSString *const AWSCognitoSyncSDKVersion = @"2.5.6";
29+
static NSString *const AWSCognitoSyncSDKVersion = @"2.5.7";
3030

3131

3232
@interface AWSCognitoSyncResponseSerializer : AWSJSONResponseSerializer

AWSCognito/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSCognitoIdentityProvider.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AWSCognitoIdentityProvider'
3-
s.version = '2.5.6'
3+
s.version = '2.5.7'
44
s.summary = 'Amazon Cognito Identity Provider SDK for iOS (Beta)'
55

66
s.description = 'Amazon Cognito Identity Provider enables sign up and authentication of your end users'
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
1313
:tag => s.version}
1414
s.requires_arc = true
15-
s.dependency 'AWSCore', '2.5.6'
15+
s.dependency 'AWSCore', '2.5.7'
1616
s.source_files = 'AWSCognitoIdentityProvider/**/*.{h,m,c}'
1717
s.public_header_files = 'AWSCognitoIdentityProvider/*.h', 'AWSCognitoIdentityProvider/CognitoIdentityProvider/*.h'
1818
s.private_header_files = 'AWSCognitoIdentityProvider/Internal/*.h'

AWSCognitoIdentityProvider/CognitoIdentityProvider/AWSCognitoIdentityProviderService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#import "AWSCognitoIdentityProviderResources.h"
2727

2828
static NSString *const AWSInfoCognitoIdentityProvider = @"CognitoIdentityProvider";
29-
static NSString *const AWSCognitoIdentityProviderSDKVersion = @"2.5.6";
29+
static NSString *const AWSCognitoIdentityProviderSDKVersion = @"2.5.7";
3030

3131

3232
@interface AWSCognitoIdentityProviderResponseSerializer : AWSJSONResponseSerializer

AWSCognitoIdentityProvider/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSCognitoSync.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'AWSCognitoSync'
4-
s.version = '2.5.6'
4+
s.version = '2.5.7'
55
s.summary = 'Amazon Cognito SDK for iOS'
66

77
s.description = 'Amazon Cognito offers multi device data synchronization with offline access'
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
:tag => s.version}
1515
s.requires_arc = true
1616
s.library = 'sqlite3'
17-
s.dependency 'AWSCognito', '2.5.6'
17+
s.dependency 'AWSCognito', '2.5.7'
1818

1919
s.deprecated = true
2020
s.deprecated_in_favor_of = 'AWSCognito'

AWSCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'AWSCore'
4-
s.version = '2.5.6'
4+
s.version = '2.5.7'
55
s.summary = 'Amazon Web Services SDK for iOS.'
66

77
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'

AWSCore/Authentication/AWSCredentialsProvider.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ - (void)setUpWithRegionType:(AWSRegionType)regionType
482482
getCredentialsRetry.identityId = self.identityId;
483483
getCredentialsRetry.logins = logins;
484484
getCredentialsRetry.customRoleArn = customRoleArn;
485-
485+
486486
return [[self.cognitoIdentity getCredentialsForIdentity:getCredentialsRetry] continueWithBlock:^id _Nullable(AWSTask<AWSCognitoIdentityGetCredentialsForIdentityResponse *> * _Nonnull task) {
487487
if (task.error) {
488488
return [AWSTask taskWithError:[NSError errorWithDomain:AWSCognitoCredentialsProviderErrorDomain

AWSCore/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSCore/Logging/AWSDDLegacyMacros.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Disable legacy macros by importing AWSCocoaLumberjack.h or AWSDDLogMacros.h inst
3737
#define LOG_LEVEL_VERBOSE AWSDDLogLevelVerbose
3838
#define LOG_LEVEL_ALL AWSDDLogLevelAll
3939

40-
#define LOG_ASYNC_ENABLED YES
40+
#define AWSDD_LOG_ASYNC_ENABLED YES
4141

42-
#define LOG_ASYNC_ERROR ( NO && LOG_ASYNC_ENABLED)
43-
#define LOG_ASYNC_WARN (YES && LOG_ASYNC_ENABLED)
44-
#define LOG_ASYNC_INFO (YES && LOG_ASYNC_ENABLED)
45-
#define LOG_ASYNC_DEBUG (YES && LOG_ASYNC_ENABLED)
46-
#define LOG_ASYNC_VERBOSE (YES && LOG_ASYNC_ENABLED)
42+
#define LOG_ASYNC_ERROR ( NO && AWSDD_LOG_ASYNC_ENABLED)
43+
#define LOG_ASYNC_WARN (YES && AWSDD_LOG_ASYNC_ENABLED)
44+
#define LOG_ASYNC_INFO (YES && AWSDD_LOG_ASYNC_ENABLED)
45+
#define LOG_ASYNC_DEBUG (YES && AWSDD_LOG_ASYNC_ENABLED)
46+
#define LOG_ASYNC_VERBOSE (YES && AWSDD_LOG_ASYNC_ENABLED)
4747

48-
#define LOG_MACRO(isAsynchronous, lvl, flg, ctx, atag, fnct, frmt, ...) \
48+
#define AWSDD_LOG_MACRO(isAsynchronous, lvl, flg, ctx, atag, fnct, frmt, ...) \
4949
[AWSDDLog log : isAsynchronous \
5050
level : lvl \
5151
flag : flg \
@@ -56,11 +56,11 @@ Disable legacy macros by importing AWSCocoaLumberjack.h or AWSDDLogMacros.h inst
5656
tag : atag \
5757
format : (frmt), ## __VA_ARGS__]
5858

59-
#define LOG_MAYBE(async, lvl, flg, ctx, fnct, frmt, ...) \
60-
do { if(lvl & flg) LOG_MACRO(async, lvl, flg, ctx, nil, fnct, frmt, ##__VA_ARGS__); } while(0)
59+
#define AWSDD_LOG_MAYBE(async, lvl, flg, ctx, fnct, frmt, ...) \
60+
do { if(lvl & flg) AWSDD_LOG_MACRO(async, lvl, flg, ctx, nil, fnct, frmt, ##__VA_ARGS__); } while(0)
6161

6262
#define LOG_OBJC_MAYBE(async, lvl, flg, ctx, frmt, ...) \
63-
LOG_MAYBE(async, lvl, flg, ctx, __PRETTY_FUNCTION__, frmt, ## __VA_ARGS__)
63+
AWSDD_LOG_MAYBE(async, lvl, flg, ctx, __PRETTY_FUNCTION__, frmt, ## __VA_ARGS__)
6464

6565
#define AWSDDLogError(frmt, ...) LOG_OBJC_MAYBE(LOG_ASYNC_ERROR, LOG_LEVEL_DEF, LOG_FLAG_ERROR, 0, frmt, ##__VA_ARGS__)
6666
#define AWSDDLogWarn(frmt, ...) LOG_OBJC_MAYBE(LOG_ASYNC_WARN, LOG_LEVEL_DEF, LOG_FLAG_WARN, 0, frmt, ##__VA_ARGS__)

AWSCore/Logging/AWSDDLogMacros.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
/**
2424
* Whether async should be used by log messages, excluding error messages that are always sent sync.
2525
**/
26-
#ifndef LOG_ASYNC_ENABLED
27-
#define LOG_ASYNC_ENABLED YES
26+
#ifndef AWSDD_LOG_ASYNC_ENABLED
27+
#define AWSDD_LOG_ASYNC_ENABLED YES
2828
#endif
2929

3030
/**
3131
* These are the two macros that all other macros below compile into.
3232
* These big multiline macros makes all the other macros easier to read.
3333
**/
34-
#define LOG_MACRO(isAsynchronous, lvl, flg, ctx, atag, fnct, frmt, ...) \
34+
#define AWSDD_LOG_MACRO(isAsynchronous, lvl, flg, ctx, atag, fnct, frmt, ...) \
3535
[AWSDDLog log : isAsynchronous \
3636
level : lvl \
3737
flag : flg \
@@ -72,23 +72,23 @@
7272
*
7373
* We also define shorthand versions for asynchronous and synchronous logging.
7474
**/
75-
#define LOG_MAYBE(async, lvl, flg, ctx, tag, fnct, frmt, ...) \
76-
do { LOG_MACRO(async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0)
75+
#define AWSDD_LOG_MAYBE(async, lvl, flg, ctx, tag, fnct, frmt, ...) \
76+
do { AWSDD_LOG_MACRO(async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0)
7777

7878
#define LOG_MAYBE_TO_AWSDDLOG(ddlog, async, lvl, flg, ctx, tag, fnct, frmt, ...) \
7979
do { LOG_MACRO_TO_AWSDDLOG(ddlog, async, lvl, flg, ctx, tag, fnct, frmt, ##__VA_ARGS__); } while(0)
8080

8181
/**
8282
* Ready to use log macros with no context or tag.
8383
**/
84-
#define AWSDDLogError(frmt, ...) LOG_MAYBE(NO, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagError, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
85-
#define AWSDDLogWarn(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagWarning, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
86-
#define AWSDDLogInfo(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagInfo, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
87-
#define AWSDDLogDebug(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagDebug, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
88-
#define AWSDDLogVerbose(frmt, ...) LOG_MAYBE(LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagVerbose, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
84+
#define AWSDDLogError(frmt, ...) AWSDD_LOG_MAYBE(NO, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagError, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
85+
#define AWSDDLogWarn(frmt, ...) AWSDD_LOG_MAYBE(AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagWarning, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
86+
#define AWSDDLogInfo(frmt, ...) AWSDD_LOG_MAYBE(AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagInfo, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
87+
#define AWSDDLogDebug(frmt, ...) AWSDD_LOG_MAYBE(AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagDebug, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
88+
#define AWSDDLogVerbose(frmt, ...) AWSDD_LOG_MAYBE(AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagVerbose, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
8989

9090
#define AWSDDLogErrorToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, NO, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagError, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
91-
#define AWSDDLogWarnToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagWarning, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
92-
#define AWSDDLogInfoToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagInfo, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
93-
#define AWSDDLogDebugToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagDebug, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
94-
#define AWSDDLogVerboseToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagVerbose, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
91+
#define AWSDDLogWarnToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagWarning, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
92+
#define AWSDDLogInfoToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagInfo, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
93+
#define AWSDDLogDebugToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagDebug, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)
94+
#define AWSDDLogVerboseToAWSDDLog(ddlog, frmt, ...) LOG_MAYBE_TO_AWSDDLOG(ddlog, AWSDD_LOG_ASYNC_ENABLED, [AWSDDLog sharedInstance].logLevel, AWSDDLogFlagVerbose, 0, nil, __PRETTY_FUNCTION__, frmt, ##__VA_ARGS__)

AWSCore/Service/AWSService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#import "AWSCocoaLumberjack.h"
2222
#import "AWSCategory.h"
2323

24-
NSString *const AWSiOSSDKVersion = @"2.5.6";
24+
NSString *const AWSiOSSDKVersion = @"2.5.7";
2525
NSString *const AWSServiceErrorDomain = @"com.amazonaws.AWSServiceErrorDomain";
2626

2727
static NSString *const AWSServiceConfigurationUnknown = @"Unknown";

AWSCoreTests/AWSCognitoCredentialsProviderTests.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,15 @@ + (void)createFBAccount {
600600

601601
// Get the FB APP access token
602602
NSString *raw_response = [NSString stringWithContentsOfURL:[NSURL URLWithString:accessURI] encoding:NSUTF8StringEncoding error:nil];
603-
NSRange startOfToken = [raw_response rangeOfString:@"="];
603+
NSDictionary *accessTokenDictionary = [NSJSONSerialization JSONObjectWithData:[raw_response dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingMutableLeaves error:nil];
604+
NSString *accessToken = accessTokenDictionary[@"access_token"];
605+
//NSRange startOfToken = [raw_response rangeOfString:@"="];
604606
// Strip the 'access_token=' so we can easily encode result
605-
_facebookAppToken = [[raw_response substringFromIndex:startOfToken.location + 1] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
606-
607+
//_facebookAppToken = [[raw_response substringFromIndex:startOfToken.location + 1] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
608+
607609
// Add a new test user, the result contains an access key we can use to test assume role
608-
NSString *addUserURI = [NSString stringWithFormat:@"https://graph.facebook.com/%@/accounts/test-users?installed=true&name=Foo%%20Bar&locale=en_US&permissions=read_stream&method=post&access_token=%@", AWSCognitoCredentialsProviderTestsFacebookAppID, _facebookAppToken];
609-
610+
NSString *addUserURI = [NSString stringWithFormat:@"https://graph.facebook.com/%@/accounts/test-users?installed=true&name=Foo%%20Bar&locale=en_US&permissions=read_stream&method=post&access_token=%@", AWSCognitoCredentialsProviderTestsFacebookAppID, [accessToken aws_stringWithURLEncodingPath]];
611+
610612
NSError *error = nil;
611613
NSString *newUser = [NSString stringWithContentsOfURL:[NSURL URLWithString:addUserURI]
612614
encoding:NSASCIIStringEncoding

AWSDynamoDB.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AWSDynamoDB'
3-
s.version = '2.5.6'
3+
s.version = '2.5.7'
44
s.summary = 'Amazon Web Services SDK for iOS.'
55

66
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -12,6 +12,6 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
1313
:tag => s.version}
1414
s.requires_arc = true
15-
s.dependency 'AWSCore', '2.5.6'
15+
s.dependency 'AWSCore', '2.5.7'
1616
s.source_files = 'AWSDynamoDB/*.{h,m}'
1717
end

AWSDynamoDB/AWSDynamoDBService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#import "AWSDynamoDBRequestRetryHandler.h"
2828

2929
static NSString *const AWSInfoDynamoDB = @"DynamoDB";
30-
static NSString *const AWSDynamoDBSDKVersion = @"2.5.6";
30+
static NSString *const AWSDynamoDBSDKVersion = @"2.5.7";
3131

3232

3333
@interface AWSDynamoDBResponseSerializer : AWSJSONResponseSerializer

AWSDynamoDB/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.5.6</string>
18+
<string>2.5.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

AWSEC2.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AWSEC2'
3-
s.version = '2.5.6'
3+
s.version = '2.5.7'
44
s.summary = 'Amazon Web Services SDK for iOS.'
55

66
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -12,6 +12,6 @@ Pod::Spec.new do |s|
1212
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git',
1313
:tag => s.version}
1414
s.requires_arc = true
15-
s.dependency 'AWSCore', '2.5.6'
15+
s.dependency 'AWSCore', '2.5.7'
1616
s.source_files = 'AWSEC2/*.{h,m}'
1717
end

0 commit comments

Comments
 (0)