Couldn't run Genesys Cloud WebRTC iOS SDK in anyway possible

Hello,

I am using Macbook Air:
OSX: Ventura 13.4.1
XCode: 14.2

I've been trying to use Genesys Cloud WebRTC iOS SDK for almost 3 days now, with no success at all :frowning:

Here are my steps one by one:

I attached screen shots for each step

Step01: Opening XCode and Creating new project name: tenth-project

Step02: Selecting iOS App and clicked Next

Step03: Wrote the project's name: tenth-project and wrote Organization Identifier then clicked Next

Step04: Waited a little bit then everything ready, clicked on Run button, then iPhone 14 Pro Simulator ran with the application

Step05: Closed XCode then opened terminal, cd to the project's location and wrote:
pod init
open PodFile
added the sdk's pod line to it (using TextEdit app):
pod 'PureCloudPlatformClientV2', :git => 'GitHub - MyPureCloud/platform-client-sdk-ios: An iOS library to interface with the PureCloud Platform API', :tag => '127.3.0'
and enabled and changed ios platform version to: 16.2

Step06:
pod install
open tenth-project.xcworkspace

Step07:
Waited like half an hour to index everything inside XCode then pressed on Run button
Then these errors happened:




I made lots of changes in the project settings, researched a lot, but nothing helped, this is my 10th project creation :frowning: any help would be appreciated.

That's not a thing that exists. platform-client-sdk-ios is a Swift SDK for the Platform API. The WebRTC SDK (genesys-cloud-webrtc-sdk) is a JavaScript library to interface with the browser's WebRTC API to provide a WebRTC softphone. Just want to call that out to make sure you understand what toolset you're working with.

I can't personally help with your xcode/swift issues, but I've made the SDK team aware of this post to have a look.

1 Like

Hi,

We have a ticket to fix this issue with the IOS sdk and we will update the ticket with the info you have provided. Please bear in mind though that all SDK fixes are best effort. If you are blocked by an iOS SDK issue you can always fall back on the underlying REST API calls.

Regards,
Declan

1 Like

Thank you Mr. @tim.smith for your reply and clarification,

so this Swift SDK doesn't support WebRTC, would you please share with me a document or another SDK that helps us develop WebRTC Softphone for Genesys Cloud inside iOS Swift App ?

Regards.

Hello Mr. @Declan_ginty

Could you please share us the support ticket URL, so we can track it together and stay informed once the problem got resolved?

Thank you.

The WebRTC SDK is JavaScript only. Genesys Cloud does not support non-browser WebRTC endpoints. If you want to place a call from a mobile device, use the devices native API to dial a phone call or create a remote phone for the user to use their mobile phone as a station.

1 Like

Hi,

Apologies for the delayed reply. I won't be able to share the ticket as it is not as support ticket but an internal ticket. This post is attached to the ticket however and we will try to post here when the issue gets resolved.

Regards,
Declan

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.