This sample demonstrates interaction with the Token Vending Machine without requiring an identity from the user.
It is assumed that you were able to run the S3_SimpleDB_SNS_SQS_Demo sample and that you are currently running the Anonymous version of the TVM, token vending machine.
- Open the
S3_SimpleDB_SNS_SQS_DemoTVM/AWSiOSDemoTVM.xcodeproj
project file in Xcode. - Configure the sample with your Token Vending Machine credentials:
- Open the
Constants.h
file. - Modify the
TOKEN_VENDING_MACHINE_URL
with the DNS domain name where your Token Vending Machine is running (ex: tvm.elasticbeanstalk.com). - Modify the
USE_SSL
to YES or NO based on whether your Token Vending Machine is running SSL or not.
- Open the
- Add the AWS SDK for iOS Frameworks to the sample.
- In the Project Navigator, Right-Click on the Frameworks group.
- In the Menu select Add Files to
AWSiOSDemoTVM
- Navigate to the location where you downloaded and expanded the AWS SDK for iOS.
- Select the following frameworks and click Add:
- AWSRuntime.framework
- AWSS3.framework
- AWSSimpleDB.framework
- AWSSQS.framework
- AWSSNS.framework
- Run the project.