Questions tagged [aws-sdk-ios]

Tag can be used for questions related to AWS SDK on iOS platform: programming question on either Swift or Objective-C, troubleshooting apps that use AWS on iOS, and so on.

The AWS Mobile SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.

112 questions
3
votes
1 answer

Upload file to sub folder under bucket with AWS iOS SDKv2

I saw an example on s3 ios sdk to upload a file with a key. However, I couldn't find any example to upload a file to sub folders under a bucket. How to specify the sub folders I want to upload to? AWSS3TransferManagerUploadRequest *uploadRequest =…
angelokh
  • 9,426
  • 9
  • 69
  • 139
2
votes
0 answers

How to compile framework for Mac Catalyst on Xcode 12?

I have been trying to compile the aws-sdk-ios for Mac Catalyst but I wasn't successful yet. Below there is the script that I use to compile for armv7 and x86_64 (simulator). # Build .a files xcodebuild ARCHS="i386 x86_64" \ ONLY_ACTIVE_ARCH=NO…
Pedro Paulo Amorim
  • 1,838
  • 2
  • 27
  • 50
2
votes
0 answers

NSInternalInconsistencyException Cannot set the result on a completed task

Getting this crash sometimes, while trying to sign in. Using Amplify pod version 1.0.5. This was preceded by (1) auth session expired, (2) password reset. Probably, something left not cleaned up. What I am looking for is, are there any additional…
rysv
  • 2,416
  • 7
  • 30
  • 48
2
votes
0 answers

In Cognito on iOS, handling new password required doesn't ever reach didCompleteNewPasswordStepWithError

I'm trying to implement functionality to respond to FORCE_CHANGE_PASSWORD on my iOS app that uses AWS Cognito. I used this Stack Overflow question which references this sample code. Right now, my code opens a view controller like it's supposed to;…
blorsch
  • 70
  • 1
  • 9
2
votes
1 answer

How to build AWSiOSSDKv2?

Forgive me if this is a newbie question. I am trying to build the AWS iOS SDK and the build is failing. I am using XCode 10.1 Beta. I have cloned the AWS iOS SDK and have opened the xcode project file. After opening the project, I attempted to…
Victor 'Chris' Cabral
  • 2,135
  • 1
  • 16
  • 33
2
votes
0 answers

How can I change a user's temporary password using AWS Cognito and the iOS SDK?

I have an iOS application that I'm working on, and I'm using AWS Cognito to manage user authentication. I'm using the pre-made sign in interface. However, when a user is created in the AWS console, that user is assigned a temporary password, which…
2
votes
1 answer

Returning ENOTCONN Error

Im trying to upload image to Aws S3 bucket. I tried to follow a tutorial and I'm getting a error saying "Returning ENOTCONN because protocol has not yet been set up." I'm new to swift and I'm not able to understand why the error is occurring also.My…
2
votes
1 answer

AWS Cognito get User Group in Swift

So I've implemented Amazon Cognito login on an iOS app in Swift and it all works great. However I'm now trying to find out the groups that a logged in user belongs to. I can't seem to find a good way of doing this from within the app. The SDK…
cjbatin
  • 283
  • 2
  • 16
2
votes
0 answers

AWS Cognito synchronize issue with AWSCognitoDataset iOS

Am getting this below error while syncing Facebook and GPlus login credentials in AWSCognitoDataset for iOS, Task Response is :: AWSTask: 0x16018ce0; completed = YES; cancelled = NO; faulted = YES; result = (null) Task Error is :: Error…
2
votes
0 answers

AmazonClientManager - Issue with resumeSessionWithCompletionHandler in AWSCognito GPlus Login iOS

Hi all am facing some problem with resumeSessionWithCompletionHandler in AmazonClientManager for GPlus AWSCognito login in iOS. But the same resume session works fine for Facebook Login. Can u please help me on this. This is the code I have used in…
Madhavan
  • 647
  • 4
  • 16
2
votes
2 answers

API Gateway generated SDK for iOS (Objective-C) with Cognito User Pool for authorized users

I have deployed an API using AWS API Gateway and I am trying to access it through an iOS device. Some endpoints support unauthorized users and I have no trouble accessing them but others don't and I can't manage to query them. I use the new Cognito…
2
votes
1 answer

MultipartUpload upload on S3 with AWS ios SDK

I want to upload large files on S3. I know there is an option multipart upload by which I can upload large file in parts. I read the documentation (http://docs.aws.amazon.com/mobile/sdkforios/developerguide/s3transfermanager.html) but didn't find…
Ada
  • 472
  • 8
  • 13
2
votes
0 answers

iOS AWS Transfer Utility Upload request not adding headers or parameters

I'm trying to add either request parameters or request headers to my transfer utility upload expression in order to be act as the holder for my metadata. I'm adding them correctly to my knowledge and its uploading with its logged task.result…
ian
  • 1,002
  • 2
  • 12
  • 29
2
votes
1 answer

S3 upload in AWS iOS SDK fails each time

Attempting to upload an image to s3, but it fails each time for unknown reasons. private func uploadImageToS3(withS3Path s3path: String, image: UIImage, progress: (Float -> Void)?) -> BFTask{ let path: NSString =…
Mercurial
  • 2,095
  • 4
  • 19
  • 33
2
votes
3 answers

Generating a signed URL for AWS S3

I'm trying to create a signed url for AWS S3, i just want the URL for a file in my bucket, i don't want to use it for upload/download. I've tried AFNetworking, following the steps on Amazons documentation and am now using the AWS iOS SDK. So far i…
Ben
  • 342
  • 5
  • 13