Jignesh Fadadu
Jignesh Fadadu

Reputation: 849

Amazon web service update from AWSiOSSDK - 1.7.1 to AWSiOSSDKv2 - 2.0.8 issue

I am totally new to use Amazon Web Service SDK to upload audio / video. Anybody having idea to update and use AWSiOSSDK (Amazon Web Services SDK) version 1.7.1 to AWSiOSSDKv2 version 2.0.8, which is latest version of the SDK till now. I have updated cocoa pod successfully, which is required to update this SDK version.

# platform :ios, '7.0'

source 'https://github.com/CocoaPods/Specs.git'

target 'XYZ' do
pod "AWSiOSSDKv2"
pod "AWSCognitoSync"
end

target 'XYZ Tests' do
end

target 'XYZ KIF Tests' do
end

Above code is for updating pod file with older version to version 2.0.8. After updating to the latest version many of the previous version compatible files have been removed from the SDK. Now I am getting error that .h files not found. And same as this missing files error, relevant to that file many methods are also not found compatible with new version as below images.

1st

enter image description here

2nd

enter image description here

3rd

enter image description here

4th

enter image description here

How can I manually update this implementation with using updated Amazon SDK version 2.0.8. Below are the error related images which I found after updating SDK version. Any help is really appreciable. Thanks in advance.

Upvotes: 1

Views: 463

Answers (1)

Yosuke
Yosuke

Reputation: 3759

The AWS Mobile SDK for iOS 2.x is rebuilt from the ground up, and it is not compatible with 1.x codebase. You need to rewrite your apps. Developer Guide should help get you started with the new SDK.

You are getting compiler errors in the Token Vending Machine related files. We introduced an easier to use alternative, Amazon Cognito. You can remove TVM related files and try out Amazon Cognito Identity.

Hope this helps,

Upvotes: 3

Related Questions