Reputation: 1067
I am trying to start work with AWS SDK on iOS. I did all that they said here AWS SDK GitHub with CocoaPod. My pod file looks like this:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "8.0"
use_frameworks!
pod 'AWSCore', '~> 2.2'
pod 'AWSSNS', '~> 2.2'
end
But then I try to import something from AWS:
#import <AWSiOSSDKv2/AWSCore.h>
I have an error in Xcode: 'AWSiOSSDKv2/AWSCore.h' file not found
What I did wrong?
Upvotes: 1
Views: 1242
Reputation: 3271
In my experience, you should import headers based on the Pod name, like this:
#import <AWSCore/AWSCore.h>
Upvotes: 1