Legacy Dev Forum Posts

 View Only

Sign Up

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

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

    Posted 06-05-2025 19:24

    TarikSeyceri | 2023-10-13 14:57:23 UTC | #1

    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:

    https://github.com/MyPureCloud/platform-client-sdk-ios

    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 => 'https://github.com/MyPureCloud/platform-client-sdk-ios.git', :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:

    ![07-01

    625x500](upload://wvaksVjONOat0rY750T77LAybO7.png)

    ![07-2

    677x500](upload://mxeJZdt6f71UVHs0GoWo9CWvZqE.png)

    ![07-3

    681x499](upload://eElXR6idQUkwedYKkVcf7iloEvH.png)

    ![07-4

    664x499](upload://bi76lMneraYaZ6wFtBzL8HRAWUZ.png)

    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.


    tim.smith | 2023-10-13 15:25:54 UTC | #2

    TarikSeyceri, post:1, topic:22526
    I've been trying to use Genesys Cloud WebRTC iOS SDK

    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.


    Declan_ginty | 2023-10-13 16:08:50 UTC | #3

    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


    TarikSeyceri | 2023-10-14 11:49:09 UTC | #4

    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.


    TarikSeyceri | 2023-10-14 11:51:54 UTC | #5

    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.


    tim.smith | 2023-10-16 13:42:30 UTC | #6

    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.


    Declan_ginty | 2023-10-18 16:21:13 UTC | #7

    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


    system | 2023-11-18 16:21:14 UTC | #8

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


    This post was migrated from the old Developer Forum.

    ref: 22526