One-click install
npx skills add https://github.com/cometchat/calls-sdk-ios --skill setup-cometchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup
Source: https://github.com/cometchat/calls-sdk-ios/tree/main/skills/setup
Command: npx skills add https://github.com/cometchat/calls-sdk-ios --skill setup-cometchat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This setup guidance removes the confusion of installing and initializing the CometChat Calls SDK so your iOS app can reliably start voice/video calling.

Core Features & Use Cases

  • Install via SPM or CocoaPods: Adds the CometChatCallsSDK package to your iOS project, ensuring you’re using iOS 15.0+ requirements.
  • Configure app settings and initialize SDK: Builds CallAppSettings with app ID and region, then initializes CometChatCalls before any other SDK calls.
  • Add required Info.plist permissions: Ensures camera and microphone usage descriptions are present to support runtime access prompts.

Use case: You’re adding calling to a new iOS app and need a correct initialization flow that won’t fail at launch due to missing permissions or incorrect setup order.

Quick Start

Initialize CometChatCalls at app launch using CallAppSettingsBuilder with your App ID and region, after adding NSCameraUsageDescription and NSMicrophoneUsageDescription to Info.plist.

Frequently Asked Questions about setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize the CometChat Calls SDK in an iOS app?

To initialize the CometChat Calls SDK, build CallAppSettings with your App ID and region, then call CometChatCalls initialization at app launch before any other SDK methods to enable voice and video calling.

What Info.plist permissions are required for real-time voice and video calling on iOS?

Real-time voice and video calling on iOS requires adding NSCameraUsageDescription and NSMicrophoneUsageDescription keys to your Info.plist to support runtime camera and microphone access prompts.

Can I install the CometChat Calls SDK using Swift Package Manager or CocoaPods?

Yes, you can install the CometChat Calls SDK using either Swift Package Manager or CocoaPods. Both methods add the CometChatCallsSDK package to your project, requiring iOS 15.0+ deployment support.

Why does my iOS calling app fail at launch due to incorrect SDK setup order?

Your iOS calling app fails if CometChatCalls initialization is not called before other SDK methods. You must initialize the SDK at app launch with CallAppSettingsBuilder to avoid launch failures.

Do I need iOS 15.0 or later to integrate the CometChat Calls SDK?

Yes, integrating the CometChat Calls SDK requires iOS 15.0+ deployment support. This ensures compatibility with the Swift Package Manager or CocoaPods installation for real-time voice and video calling.