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
2
votes
1 answer

AWS ios SDK - http post request for elastic transcoder job

Looking into AWS elastic transcoder, and have a few questions: Is there significant value using the transcoder in the first place, for my use case? I'm making an ios app that allows users to select a video. When they do this I'm uploading it to an…
2
votes
1 answer

How can I check the existence of a key/file on an Amazon S3 Bucket using AWS iOS SDK v2?

I writing an iOS app that uploads and downloads files from an Amazon S3 bucket. I got said functionality working, but I need to write unit tests for it. Is there any way I can check if a file exists in my bucket so that I can confirm that it has…
WaltersGE1
  • 813
  • 7
  • 26
2
votes
1 answer

dynamodb scanexpression with scan filter in objective-c

AWSDynamoDBObjectMapper *dynamoDBObjectMapper = [AWSDynamoDBObjectMapper defaultDynamoDBObjectMapper]; AWSDynamoDBScanExpression *scanExpression = [AWSDynamoDBScanExpression new]; scanExpression.exclusiveStartKey = nil; …
shebelaw
  • 3,992
  • 6
  • 35
  • 48
1
vote
0 answers

Is cognito required to use AWS Amplify Package for s3 storage on iOS?

From what I can tell, cognito is required for me to impliment the amplify storage package into my iOS project, can someone please confirm this incase I am missing something? Additionally, I understand the AWS prefers SDK users to impliment amplify…
1
vote
1 answer

I want to connect to AWS IoT core from my iOS App. (MQTT over Websockets)

I have an iOS app that collects accelerometer data from the iPhone sensors. I want to connect to the AWS IoT Core using MQTT over WSS from my ios app. Question -> Is it mandatory to have an AWS IoT certificate in case I'm using Cognito? I tried the…
1
vote
0 answers

Could not find module 'AWSMobileClient' for target 'arm64-apple-ios'

i am getting error , while adding SDK inside my Custom SDK Could not find module 'AWSMobileClient' for target 'arm64-apple-ios'; found: x86_64-apple-ios-simulator, x86_64
Ravikanth
  • 308
  • 1
  • 10
1
vote
0 answers

AWS AppSync - Fatal error: Credentials Provider and endpoint not set

I have an iOS app that uses an AppSync GraphQL API created with AWS Amplify. I want some queries to be available with public auth (for unauthenticated users) via IAM. For this public case, when calling the API, I get the following error from…
Benck
  • 515
  • 1
  • 5
  • 17
1
vote
0 answers

AWS Amplify API authentication error for unauthenticated user

I created a books API with Amplify for an iOS app. I want the book table to have read access for both authenticated and unauthenticated users. Here's the schema: type Book @model @searchable @auth( rules: [ {allow: private, provider:…
1
vote
1 answer

How would I use AWS SDK for iOS to create a CloudWatch event rule using a cron job in Xcode using Swift?

How would I use AWS SDK for iOS to create a CloudWatch event rule using a cron job in Xcode using Swift? So far I have found this AWSCloudWatch Reference, but I don't know where to start.
daniel
  • 1,446
  • 3
  • 29
  • 65
1
vote
1 answer

AWS IOT Error: premature close at onclosenexttick

I am trying to build a basic AWS IOT Javascript application, below is the source code var awsIot = require('aws-iot-device-sdk'); var device = awsIot.device({ keyPath: 'xxx-private.pem.key', certPath: 'xxx-certificate.pem.crt', caPath:…
1
vote
1 answer

AWS Transcribe stuck in getTranscriptionJob in iOS

I'm trying to use AWS Transcribe in an iOS app using the aws-sdk-ios. The app starts a transcription job and I can see the job on the AWS console. But the app can't list the jobs, or get a specific job, because it gets stuck in the request to…
João Souza
  • 4,032
  • 3
  • 25
  • 38
1
vote
0 answers

How do I authenticate to Amazon Cognito using AWSMobileClient?

Problem: I have two user pools in Cognito. Let's call them Pool A and B. I am able to authenticate a user to "Pool A" successfully. I need to authenticate a user created by backend dynamically to "Pool B" from the client. Docs I have read: *…
noonechai
  • 11
  • 2
1
vote
1 answer

A background URLSession with identifier already exists

I have an S3Service which is a singleton that manages all the S3 related uploads and downloads. When I upload the first image it works fine but if I try to upload an Image consecutively It gives me this warning and the completion block never gets…
1
vote
1 answer

iOS : AWSAPIGateWay - Missing authentication issue

The app is not getting successful API call after hours of inactivity. Steps to reproduce the behavior: Creation of Amazon Cognito ID. API calls. Put the app in the background. Refresh code after 8 hours.…
DipakSonara
  • 2,598
  • 3
  • 29
  • 34
1
vote
1 answer

Is it possible to prepolulate an AWS AppSync iOS client?

We’re looking at using AWS AppSync for our next mobile project because of its offline capabilities. Using AppSync is it possible to release a mobile app (iOS / Android) with the mobile app database prepopulated with content? This is to avoid a…