Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

putObjectWithFile: returns NSURLErrorDomain -1012 with AFNetworking 2.5.3 + AFAmazonS3Manager 3.2.1 #90

Description

@fitch

I started getting NSURLErrorDomain -1012 on every putObjectWithFile: call (Xcode 6.3.1 + Swift + iOS 8.3 on iPhone 6) when I upgraded AFNetworking to 2.5.3.

File upload failed with error: Error Domain=NSURLErrorDomain Code=-1012
"The operation couldn’t be completed. (NSURLErrorDomain error -1012.)

With AFNetworking 2.5.2 it works fine. I'm using AFAmazonS3Manager and AFNetworking with CocoaPods 0.36.3 along with these pods:

Using AFAmazonS3Manager (3.2.1)
Using AFNetworking (2.5.2)
Using Firebase (2.2.2)
Using SDWebImage (3.7.2)
Using SVProgressHUD (1.1.3)
Using UIAlertController+Blocks (0.9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions