Aws-sdk-ios: 2.4.8 Not compiling with Xcode8GM

Created on 13 Sep 2016  路  19Comments  路  Source: aws-amplify/aws-sdk-ios

/redacted/Pods/AWSS3/AWSS3/AWSS3RequestRetryHandler.h:16:9: 'AWSURLRequestRetryHandler.h' file not found

Using the following

 pod 'AWSCore'
    pod 'AWSS3'
    pod 'AWSCognito'
    pod 'AWSMobileAnalytics'
bug

Most helpful comment

I was able to fix this issue by updating cocoapods to version 1.0.1. If you're still having trouble after updating, try uninstalling cocoapods and then doing a fresh install.

AWS pods are now working for me just fine using Xcode 8 with Swift 2.3

Edit: I had to drop down to version 2.4.7 for the pods otherwise I kept getting the same AWSURLRequestRetryHandler.h' file not found error.

All 19 comments

+1 same issue as above. I reverted to 2.4.7 and it's working correctly.

revert to 2.4.7 working fine for me as well. Didn't have time to do any investigating unfortunately.

Related to #462

I reverted and still had problems....
screen shot 2016-09-14 at 11 15 29 pm

Updating cocoapods to the latest version and including the pods under target 'xxx' do - resolved for me.

@puttputt what is target 'xxx'? Can you post your Podfile here?

I'm using

pod 'AWSS3', '2.4.7'

And it works fine in xcode 8

Encountered the same issue. Reverting back to 2.4.7.

I encountered the same issue even in xcode 7.3.1 - perhaps 2.4.8 isn't ready for primetime? - downgrading to 2.4.7 has resolved the issue for now

I have use cocoapods for the installation, I update the pod after the installation to 2.4.8 on IOS 10 swift 3.0. I create the bridge folder and import #import <AWSCore/AWSCore.h>
#import <AWSCognito/AWSCognito.h>. It refused to work

screen shot 2016-09-18 at 7 44 40 pm

I was able to fix this issue by updating cocoapods to version 1.0.1. If you're still having trouble after updating, try uninstalling cocoapods and then doing a fresh install.

AWS pods are now working for me just fine using Xcode 8 with Swift 2.3

Edit: I had to drop down to version 2.4.7 for the pods otherwise I kept getting the same AWSURLRequestRetryHandler.h' file not found error.

@mitchellporter you said that you are using swift 2.3 maybe that's why it is working fine for you.

Yes, I'm on cocoapods 1.1.0.rc.1, which is probably more up to date than 1.0.1 and I had the issues with xcode 8 / swift 3, so this might be a swift 3 specific thing.

@gsabran are you still have the problem ?

i'm experiencing the same issue using swift 3 / cocoapods 1.1.0.rc.2

@LamourBt as I said, I reverted to 2.4.7 and things are fine 2.4.8 was not working.

This is fixed if you replace the import in AWSS3RequestRetryHandler.h with the following:

replace:
#import "AWSURLRequestRetryHandler.h"

with:
#import <AWSCore/AWSURLRequestRetryHandler.h>

This worked for me at least, using 2.4.8 and Cocoapods 1.0.1 and Xcode 8. Happy to submit a PR if this fix works for other setups too (Carthage).

@karthiksaligrama Thank you for the new update 2.4.9 is working fine so far

Was this page helpful?
0 / 5 - 0 ratings