Swiftpack.co -  Package - twilio/twilio-voice-ios
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Programmable Voice SDK by Twilio
.package(url: "https://github.com/twilio/twilio-voice-ios.git", from: "v3.0.0-preview4")

Twilio Programmable Voice for iOS

This repository contains releases for the Twilio Programmable Voice for iOS SDK. These releases can be installed using Swift Package Manager, CocoaPods or manually, as you prefer.

Swift Package Manager

You can add Programmable Voice for iOS by adding the https://github.com/twilio/twilio-voice-ios repository as a Swift Package.

In your Build Settings, you will also need to modify Other Linker Flags to include -ObjC.

As of the latest release of Xcode (currently 12.4), there is a known issue with consuming binary frameworks distributed via Swift Package Manager. The current workaround to this issue is to add a Run Script Phase to the Build Phases of your Xcode project. This Run Script Phase should come after the Embed Frameworks build phase. This new Run Script Phase should contain the following code:

find "${CODESIGNING_FOLDER_PATH}" -name '*.framework' -print0 | while read -d $'\0' framework
    codesign --force --deep --sign "${EXPANDED_CODE_SIGN_IDENTITY}" --preserve-metadata=identifier,entitlements --timestamp=none "${framework}"


It's easy to install the Voice framework if you manage your dependencies using CocoaPods. Simply add the following to your Podfile:

source 'https://github.com/cocoapods/specs'

target 'TARGET_NAME' do

  pod 'TwilioVoice', '~> 6.2.0'

Then run pod install --verbose to install the dependencies to your project.

Manual Integration

See manual installation.

Carthage Integration

Carthage is not currently a supported distribution mechanism for Twilio Voice. Carthage does not currently work with .xcframeworks as documented here. Once Carthage supports binary .xcframeworks, Carthage distribution will be re-added.

Issues and Support

Please file any issues you find here on Github. Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

For general inquiries related to the Voice SDK you can file a support ticket.


Stars: 23
Last commit: 3 weeks ago

Release Notes

Twilio Voice SDK iOS 5.5.2
3 weeks ago

This release consumes twilio-voice-cpp-3.3.2.


Bug Fixes

  • Fixed a potential crash in the core module where the logger could be accessed after being destroyed by another thread. #419
  • Fixed a bug where caller might not receive the [TVOCallDelegate call:didDisconnectiWithError:] callback when callee hangs up.
  • Fixed a bug where callee was not receiving the [TVONotificationDelegate cancelledCallInviteReceived:error:] callback when signaling connection error happens.

Size Impact for 5.5.2

Architecture App Download Size App Storage Size
Universal 3.0 MB 6.7 MB
arm64 3.0 MB 6.7 MB

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco