Creating the Project
You will start by creating a new Xcode project:
Open Xcode and, from the menu, select
File>New>Project....Select
iOSas platform.Select a
Appfor the Application type and clickNext.For the
Product Nametype inVonageVideoTutorialApp.Select or add the relevant value for
TeamandOrganisation Identifier. NB: If you don't possess that info, selectNoneforTeamand entercom.testforOrganisation Identifier.Use
SwiftUIforInterfaceandSwiftforLanguage.Ensure that both
Use Core DataandInclude Testsoptions are deselected. ClickNext.Select a place where your Xcode project will reside.
You now have a brand new Xcode project.
Installing the SDK
Now that the Xcode project is created you can install the Vonage Video SDK. We will be doing this using Swift Package Manager:
In Xcode, click on File > Add Package Dependencies...
In the search box, paste in the URL for the Vonage Video SDK:
Choose your dependency rule, you can specify a range of versions, an exact version or the main branch.
Add the dependency, Xcode will now download the SDK.
Basic text chat
Follow this tutorial to build basic text chat from scratch using the Vonage Video API. It is the quickest way to build a proof of concept for this functionality on the video platform.