Skip to content

Commit

Permalink
bump iOS SDK version to 2.38.0
Browse files Browse the repository at this point in the history
harsh62 authored Dec 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 6ad42dc + f9eff48 commit 4b6b712
Showing 155 changed files with 275 additions and 361 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integ-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Integration Test

on:
workflow_dispatch:
workflow_call:
inputs:
identifier:
@@ -62,7 +63,7 @@ jobs:
- project: AWSAuthSDK/AWSAuthSDK.xcodeproj
scheme: AWSMobileClient

runs-on: macos-12
runs-on: macos-13
steps:
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2 changes: 1 addition & 1 deletion .github/workflows/kick-off-release.yml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ jobs:

create-release-pr:
name: Create release PR for ${{ github.event.inputs.release-version }}
runs-on: macos-12
runs-on: macos-13
needs:
- validate-version-format
env:
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ jobs:

build-xcframeworks:
name: Build xcframeworks
runs-on: macos-12
runs-on: macos-13
needs:
- extract-release-version
- unit-test
@@ -82,7 +82,7 @@ jobs:

release-xcframeworks:
name: Release xcframeworks
runs-on: macos-12
runs-on: macos-13
environment: ReleaseArtifacts
needs:
- extract-release-version
@@ -135,7 +135,7 @@ jobs:

release-spm:
name: Release SPM
runs-on: macos-12
runs-on: macos-13
environment: Release
needs:
- extract-release-version
@@ -179,7 +179,7 @@ jobs:
release-combined-xcframeworks:
name: Release combine xcframeworks
runs-on: macos-12
runs-on: macos-13
environment: ReleaseArtifacts
needs:
- extract-release-version
@@ -251,7 +251,7 @@ jobs:
release-tag:
name: Rlease tag
runs-on: macos-12
runs-on: macos-13
needs:
- extract-release-version
- release-combined-xcframeworks
@@ -324,7 +324,7 @@ jobs:
release-doc:
name: Release docs
runs-on: macos-12
runs-on: macos-13
needs:
- extract-release-version
- update-main-branch
@@ -372,7 +372,7 @@ jobs:
add-doc-tag:
name: Add doc tag
runs-on: macos-12
runs-on: macos-13
needs:
- extract-release-version
- release-doc
@@ -400,7 +400,7 @@ jobs:
release-cocoapods:
name: Release Cocoapods
runs-on: macos-12
runs-on: macos-13
needs:
- add-doc-tag
environment: Release
@@ -432,7 +432,7 @@ jobs:
release-carthage:
name: Release Carthage
runs-on: macos-12
runs-on: macos-13
needs:
- extract-release-version
- add-doc-tag
@@ -463,7 +463,7 @@ jobs:
bump-ios-sampleapp-version:
name: 'Bump iOS sample App version'
runs-on: macos-12
runs-on: macos-13
needs:
- release-xcframeworks
- release-cocoapods
2 changes: 1 addition & 1 deletion .github/workflows/report-code-coverage.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ on:
jobs:
unit-tests:
name: All SDK Unit Tests
runs-on: macos-12
runs-on: macos-13
continue-on-error: true
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ jobs:
- project: AWSAuthSDK/AWSAuthSDK.xcodeproj
scheme: AWSMobileClient

runs-on: macos-12
runs-on: macos-13

steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
4 changes: 2 additions & 2 deletions AWSAPIGateway.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'AWSAPIGateway'
s.version = '2.37.2'
s.version = '2.38.0'
s.summary = 'Amazon Web Services SDK for iOS.'

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|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.37.2'
s.dependency 'AWSCore', '2.38.0'

s.source_files = 'AWSAPIGateway/*.{h,m}'
s.resource_bundle = { 'AWSAPIGateway' => ['AWSAPIGateway/PrivacyInfo.xcprivacy']}
2 changes: 1 addition & 1 deletion AWSAPIGateway/AWSAPIGatewayClient.m
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@

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

NSString *const AWSAPIGatewaySDKVersion = @"2.37.2";
NSString *const AWSAPIGatewaySDKVersion = @"2.38.0";

static int defaultChunkSize = 1024;

2 changes: 1 addition & 1 deletion AWSAPIGateway/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
6 changes: 3 additions & 3 deletions AWSAppleSignIn.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAppleSignIn'
s.version = '2.37.2'
s.version = '2.38.0'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -12,8 +12,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.37.2'
s.dependency 'AWSAuthCore', '2.37.2'
s.dependency 'AWSCore', '2.38.0'
s.dependency 'AWSAuthCore', '2.38.0'
s.source_files = 'AWSAuthSDK/Sources/AWSAppleSignIn/*.{h,m}'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAppleSignIn/*.h'
s.resource_bundle = { 'AWSAppleSignIn' => ['AWSAuthSDK/Sources/AWSAppleSignIn/PrivacyInfo.xcprivacy']}
12 changes: 6 additions & 6 deletions AWSAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuth'
s.version = '2.37.2'
s.version = '2.38.0'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -14,23 +14,23 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.subspec 'Core' do |authcore|
authcore.dependency 'AWSAuthCore', '2.37.2'
authcore.dependency 'AWSAuthCore', '2.38.0'
end

s.subspec 'FacebookSignIn' do |facebook|
facebook.dependency 'AWSFacebookSignIn', '2.37.2'
facebook.dependency 'AWSFacebookSignIn', '2.38.0'
end

s.subspec 'GoogleSignIn' do |google|
google.dependency 'AWSGoogleSignIn', '2.37.2'
google.dependency 'AWSGoogleSignIn', '2.38.0'
end

s.subspec 'UserPoolsSignIn' do |up|
up.dependency 'AWSUserPoolsSignIn', '2.37.2'
up.dependency 'AWSUserPoolsSignIn', '2.38.0'
end

s.subspec 'UI' do |ui|
ui.dependency 'AWSAuthUI', '2.37.2'
ui.dependency 'AWSAuthUI', '2.38.0'
end

end
4 changes: 2 additions & 2 deletions AWSAuthCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuthCore'
s.version = '2.37.2'
s.version = '2.38.0'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.37.2'
s.dependency 'AWSCore', '2.38.0'
s.source_files = 'AWSAuthSDK/Sources/AWSAuthCore/*.{h,m}'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAuthCore/*.h'
s.resource_bundle = { 'AWSAuthCore' => ['AWSAuthSDK/Sources/AWSAuthCore/PrivacyInfo.xcprivacy']}
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAppleSignIn/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAuthCore/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAuthUI/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSFacebookSignIn/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSGoogleSignIn/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSMobileClient/Info.plist
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.37.2</string>
<string>2.38.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
60 changes: 0 additions & 60 deletions AWSAuthSDK/Sources/AWSMobileClient/Internal/_AWSMobileClient.h
Original file line number Diff line number Diff line change
@@ -94,60 +94,6 @@ NS_ASSUME_NONNULL_BEGIN
sourceApplication:(nullable NSString *)sourceApplication
annotation:(id)annotation;

/**
Configures the different AWSMobile SDK Clientsfrom application delegate with options.
@param application instance from application delegate.
@param launchOptions from application delegate.
@param completionHandler completion handler for resuming auth session.
*Swift*
AWSMobileClient
.sharedInstance()
.interceptApplication(application,
didFinishLaunchingWithOptions:launchOptions,
resumeSessionWithCompletionHandler:completionHandler)
*Objective-C*
AWSMobileClient *mobileClient = [AWSMobileClient sharedInstance];
[mobileClient interceptApplication:application
didFinishLaunchingWithOptions:launchOptions
resumeSessionWithCompletionHandler:completionHandler];
*/
- (BOOL)interceptApplication:(UIApplication *)application
didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions
resumeSessionWithCompletionHandler:(void (^)(id result, NSError *error))completionHandler;

/**
Configures the different AWSMobile SDK Clientsfrom application delegate with options.
@param application instance from application delegate.
@param launchOptions from application delegate.
*Swift*
AWSMobileClient
.sharedInstance()
.interceptApplication(application, didFinishLaunchingWithOptions:launchOptions)
*Objective-C*
AWSMobileClient *mobileClient = [AWSMobileClient sharedInstance];
[mobileClient interceptApplication:application
didFinishLaunchingWithOptions:launchOptions];
*/
- (BOOL)interceptApplication:(UIApplication *)application
didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;

/**
Set the signInProviderConfig
@param signInProviderConfig the signInProviderConfiguration with permissions.
**/
- (void)setSignInProviders:(nullable NSArray<AWSSignInProviderConfig *> *)signInProviderConfig;


-(void)showSignInScreen:(UINavigationController *)navController
signInUIConfiguration:(SignInUIOptions *)signInUIConfiguration
@@ -159,12 +105,6 @@ didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;
*/
- (void)setCredentialsProvider:(AWSCognitoCredentialsProvider *)credentialsProvider;

/**
* Retrieve the Credentials Provider.
* @return AWSCognitoCredentialsProvider
*/
- (AWSCognitoCredentialsProvider *)getCredentialsProvider;

/**
* Indicates whether the user is signed-in or not.
* @return true if user is signed-in
Loading

0 comments on commit 4b6b712

Please sign in to comment.