This topic describes how to integrate the software development kit (SDK) on macOS.
Prerequisites
Xcode 14.0 or later is installed. For more information, see Xcode.
You need an Apple developer certificate or an individual account.
If you use a device without a built-in camera and microphone, such as a Mac mini, connect an external camera and microphone.
Environment requirements
For more information about the environment requirements for macOS, see Limits.
Integrate the SDK
Download and decompress the SDK for macOS. For the download URL, see SDK Downloads.
Create a new project and copy the decompressed SDK files into the project directory.
Add the dependency files from the SDK to your project.
On the Build Phases tab, add the DingRTC.framework and libffmpeg.dylib dependency files to the Link Binary With Libraries section.
On the General tab, add DingRTC.framework and libffmpeg.dylib to the Frameworks, Libraries, and Embedded Content section. Set the Embed property for each to Embed & Sign.

On the Build Phases tab, add the following system libraries to the Link Binary With Libraries section:
libc++.tbd
libresolv.tbd
libcurl.tbd
libz.tbd
CoreMedia.framework
CoreAudio.framework
AudioToolbox.framework
AVFoundation.framework
On the Build Settings tab, drag the DingRTC.framework folder to the Framework Search Path setting.

Edit the info.plist file to add permissions.

On the Signing & Capabilities tab, configure the required capabilities.

Press Command+B to build the project. If the message Build Success is displayed, the SDK is integrated.
What to do next
After you integrate the SDK, you can implement basic Real-Time Communication features. For more information, see Implement basic features on macOS.