Closed nasirmehmood closed 9 years ago
Can you share your Podfile
and your import statements?
Podfile
source 'https://github.com/CocoaPods/Specs.git'
pod 'AWSCore'
pod 'AWSAutoScaling'
pod 'AWSCloudWatch'
pod 'AWSDynamoDB'
pod 'AWSEC2'
pod 'AWSElasticLoadBalancing'
pod 'AWSKinesis'
pod 'AWSLambda'
pod 'AWSMachineLearning'
pod 'AWSS3'
pod 'AWSSES'
pod 'AWSSimpleDB'
pod 'AWSSNS'
pod 'AWSSQS'
pod 'AWSCognito'
And here's how I am using it
#import AWSS3/AWSS3.h
AWSStaticCredentialsProvider *credentialsProvider = [[AWSStaticCredentialsProvider alloc] initWithAccessKey:appDelegate.AMAZON_ACCESS_KEY_ID secretKey:appDelegate.AMAZON_SECRET_KEY];
AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionCNNorth1 credentialsProvider:credentialsProvider];
[AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration;
We are not able to reproduce the issue.
The import statement should be
#import <AWSS3/AWSS3.h>
instead of
#import AWSS3/AWSS3.h
Please make sure you are opening the Xcode workspace file instead of the project file. Also, how is your Target set up in your Xcode project? If you are not using the first target, you have to update your Podfile
based on this guides.
It may help to cleanly install the pods as well.
I was doing the same as you have mentioned above. Seems like problem was somewhere else. I had to manually link the libraries and then it worked. (screenshot attached)
Thanks
I have integrated latest SDK 2.1.1 using CocoaPods 0.37.1 and I am getting these errors
Please provide help about it.