amazon-kinesis-video-streams-webrtc-sdk-ios icon indicating copy to clipboard operation
amazon-kinesis-video-streams-webrtc-sdk-ios copied to clipboard

Error when I run a project

Open Moriarty1230 opened this issue 2 years ago • 8 comments

no such module 'awscognitoidentityprovider' Hi, I want to try the Kinesis Video Stream sample for ios. when I try to build the app, I got this error. I have been removed Pods dir and rerun pod install multiple times or recreate project still get the same error. I really appreciate any help. Thank you caf65e94fdfd286597617b2b8846021 This is my pod file list 582862da195147b011500b08fa73198

Moriarty1230 avatar Mar 23 '22 06:03 Moriarty1230

image

Comment out the code above and use SPM to install

AWSMobileClient replace AWSMobileClientXCF

maxwell44 avatar Mar 24 '22 03:03 maxwell44

@Moriarty1230 ,

Do you see any errors while running pods install?

disa6302 avatar Mar 25 '22 18:03 disa6302

image There is no error. @disa6302

Moriarty1230 avatar Mar 28 '22 05:03 Moriarty1230

Just got same problem. Any idea about this topic?

HungTseLee avatar Apr 27 '22 14:04 HungTseLee

I see this problem on XCode version 13, however, it seems to work on XCode 11. Can you verify if you are facing the same issue on XCode 11?

disa6302 avatar Aug 01 '22 01:08 disa6302

use spm

maxwell44 avatar Sep 07 '22 01:09 maxwell44

use spm

I also face the same issue, and could run the sample app only by installing XCode 11.

What is spm, and how it is used to remedy this issue, could you explain please?

mehmetcy84 avatar Sep 08 '22 15:09 mehmetcy84

swift package

maxwell44 avatar Sep 20 '22 03:09 maxwell44

swift package I tried SPM and got a mistake No such module 'AWSCognitoIdentityProvider' near import AWSCognitoIdentityProvider Do you know how to fix it ?

mgmtcam22 avatar Apr 20 '23 10:04 mgmtcam22

I was able to resolve the build issues with the following steps:

  1. In project Build Settings, delete the VALID_ARCHS field (In both PROJECT and TARGETS -> AWSKinesisVideoWebRTCDemoApp)
  2. Add a case for .webrtc in this switch statement (it can be a no-op)

benwkim avatar Apr 20 '23 16:04 benwkim