I followed these instructions: http://docs.aws.amazon.com/mobile/sdkforios/developerguide/install-ios-sdk.html
But I still get all these missing dependencies: http://screencast.com/t/o2oaYFctzg
How do I fix this?
I followed these instructions: http://docs.aws.amazon.com/mobile/sdkforios/developerguide/install-ios-sdk.html
But I still get all these missing dependencies: http://screencast.com/t/o2oaYFctzg
How do I fix this?
So I had issues with this for a while too. A bit confusing if it is your first dependency manager.
So open up terminal and follow these steps:
gem --help
to check if you have RubyGems. If not go HERE
sudo gem install cocoapods
IT TAKES A WHILE, be patient, it will go
Now, once that's done, cd
into your directory where your .xcodeproj
is
Create your Podfile: nano Podfile
NO extension
Include your packages pod 'AFNetworking', '~> 2.0'
for instance
And all your AWS packages:
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 'AWSMobileAnalytics'
pod 'AWSS3'
pod 'AWSSES'
pod 'AWSSimpleDB'
pod 'AWSSNS'
pod 'AWSSQS'
pod 'AWSCognito'
Exit and save from nano CTRL+X
pod install
Open your .xcworkspace
#import "AWSCore.h"
and not #import <AWSCore/AWSCore.h>
–
Assess CMD + SHIFT + K
to clean up the project, if those files get 'found' (which they won't) erase those red files because they're useless. Make sure the pods
project is in there and it should be good to go. Hit up my email and I can send a read to go project folder to you. –
Assess © 2022 - 2024 — McMap. All rights reserved.