Releases: twilio/twilio-voice-ios
Releases · twilio/twilio-voice-ios
Twilio Voice SDK iOS 6.13.6
6.13.6
- Programmable Voice iOS SDK 6.13.6 [XCFramework] (checksum: 4e04fa2698e33a47d15293f4437b1416fccad29c6e168695295c090c661d8acb
). - Programmable Voice iOS SDK 6.13.6 [Static-XCFramework] (checksum: cf318d7590fcd4dfbe52be5fc34cbc9da3f8661e0d9a93714c51a379fee1dc8e
)
Bug Fixes
- Fixed an issue where the SDK was accessing
AVAudioSessionproperties inside the route-change notification handler and caused resource competition that could result in main-thread unresponsiveness.
Size Impact for 6.13.6
Dynamic:
| Architecture | Compressed Size | Uncompressed App Size |
|---|---|---|
| arm64 | 3.8 MB | 8.4 MB |
- The app size is calculated by importing the TwilioVoice SDK into a bare-bones app.
Static:
| Architecture | Compressed Size | Uncompressed App Size |
|---|---|---|
| arm64 | 4.5 MB | 10.5 MB |
- The app size is calculated by importing the TwilioVoice SDK into a bare-bones app.
Twilio Voice SDK iOS 6.13.5
6.13.5
- Programmable Voice iOS SDK 6.13.5 [XCFramework] (checksum: 08fd9f33ea940864d390b7a338156b8c2daa69d8c5f200bc9e0ce8f8e54d45e6).
- Programmable Voice iOS SDK 6.13.5 [Static-XCFramework] (checksum: a2f476e9935ab60fc2d314aae6c58dbd0f0ebaee85e258990e83e8c762bfa32b)
Enhancements
- The Voice iOS SDK is built with Xcode 16.4.0.
Bug Fixes
- Fixed a crash when the SDK receives the Call Invite cancellation event while the
TVOCallInviteobject from the[TVONotificationDelegate callInviteReceived:]callback has been released. Note that the application is responsible for keeping theTVOCallInviteobject alive for the underlying signaling connection to finish its tasks and only release the object when the Call Invite has been accepted, rejected or when the Call Invite is canceled.
Size Impact for 6.13.5
Dynamic:
| Architecture | Compressed Size | Uncompressed App Size |
|---|---|---|
| arm64 | 3.8 MB | 8.4 MB |
- The app size is calculated by importing the TwilioVoice SDK into a bare-bones app.
Static:
| Architecture | Compressed Size | Uncompressed App Size |
|---|---|---|
| arm64 | 4.5 MB | 10.5 MB |
- The app size is calculated by importing the TwilioVoice SDK into a bare-bones app.
Twilio Voice SDK iOS 6.13.4
6.13.4
- Programmable Voice iOS SDK 6.13.4 [XCFramework] (checksum: b3a09755761109935806be8a988d647ebb729494bef23c0b4aa793f989b42af5).
- Programmable Voice iOS SDK 6.13.4 [Static-XCFramework] (checksum: df03cf6ab7cb2b491691d3a2e981bb5ef0c752a7363117ea3e33e906693a18e6)
API Changes
- The
[TVOPreflightDelegate preflight:didCompleteWitReport:]is now[TVOPreflightDelegate preflight:didCompleteWithReport:]. The Swift name remains unchanged. - The
[TVOPreflightReport dictionaryReport]now returns the value ofcallQualityin string literals, i.e.Excellent,Great,Good,FairandDegraded. - The
[TVOPreflightReport dictionaryReport]now returns the value ofisTurnRequiredin true boolean values instead oftrueorfalsestrings. - The
[TVOPreflightReport dictionaryReport]now returns an empty array if there is no value in thewarningsorwarningsClearedfield.
Bug Fixes
- Fixed a crash when the SDK receives the Call Invite cancellation event.
- Fixed a crash when the SDK is publishing Voice Insights events with invalid dictionary entries.
Size Impact for 6.13.4
Dynamic:
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.8 MB | 8.6 MB |
Static:
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 4.5 MB | 10.5 MB |
Twilio Voice SDK iOS 6.13.3
August 25, 2025
- Programmable Voice iOS SDK 6.13.3 [XCFramework] (checksum: d9b041dbebdb2aaa9e0d1a61503f076136118702e4dafd6e538b6e5ee6fe4382).
- Programmable Voice iOS SDK 6.13.3 [Static-XCFramework] (checksum: ae8b9a0a24a7732bdc1cf1af0f781898b0c50d3e1ace362369e47a33f4e88b14)
Enhancements
- The AVAudioSession option
AVAudioSessionCategoryOptionAllowBluetoothinTVODefaultAudioDevice.his deprecated and replaced withAVAudioSessionCategoryOptionAllowBluetoothHFPwhen building on Xcode 26.
Size Impact for 6.13.3
Dynamic:
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.8 MB | 8.6 MB |
Static:
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 4.5 MB | 10.5 MB |
Twilio Voice SDK iOS 6.13.2
June 18, 2025
- Programmable Voice iOS SDK 6.13.2 [XCFramework] (checksum: e04b4790ebe35b8e66291d503ed2570dd6181d85dd4ab1f60b3c8ec2e0a571b1).
- Programmable Voice iOS SDK 6.13.2 [Static-XCFramework] (checksum: c25d14bd4b7c46c0d9f6caca2e80ad53cba95fd6f37d2043ccc97bd04cda5aa1)
Enhancements
- The SDK is now also available in the static XCFramework format. To add the static library to your iOS app, follow these steps:
- Extract
TwilioVoice.xcframeworkfromTwilioVoice-static.xcframework.zipand drag and drop it into your Xcode project. - In Frameworks, Libraries, and Embedded Content, add
SystemConfiguration.framework. - Add
@import TwilioVoice;to your source files.
- Extract
- The minimum supported iOS deployment target for the Twilio Voice SDK is now set to iOS 12.0. This version was built with Xcode 15.3.0.
Size Impact
Dynamic:
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.8 MB | 8.6 MB |
Static:
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 4.5 MB | 10.5 MB |
Twilio Voice SDK iOS 6.13.1
May 12, 2025
- Programmable Voice iOS SDK 6.13.1 [XCFramework] (checksum: c0216f0a35de40bb7bd8528afbfff5628c1fb0dbfd91333a37b61a348a7aa9d2).
Bug Fixes
- Fixed an issue where exception is raised when assigning audio device instance to the Voice SDK immediately after the previous call has ended.
- The Swift API name of the
TVOPreflightCallQualityenum has been renamed asPreflightReport.CallQualityto match the namespace.
Size Impact
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.8 MB | 8.5 MB |
Twilio Voice SDK iOS 6.13.0
January 22, 2025
- Programmable Voice iOS SDK 6.13.0 [XCFramework] (checksum: 2e296d64f51962b807a250d27aadf8ba2710218edd93f9b3bf2cb73cde4fbfdb).
Enhancements
- This release is based on Chromium WebRTC 124.
- The internal default audio device is now created and destroyed on the correct thread.
Size Impact
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.8 MB | 8.5 MB |
Twilio Voice SDK iOS 6.12.1
December 3, 2024
- Programmable Voice iOS SDK 6.12.1 [XCFramework] (checksum: f74b41d69451461e4fe0a4bc48eeb6d2e469d0c13175e5abbee3a38926eb4acd).
Bug Fixes
- Fixed a bug where
callSidis missing from the dictionary returned by[TVOPreflightTest dictionaryReport]. - Fixed a bug where the signaling library was throwing an exception while initiating a call with per-app based VPN enabled.
- Fixed the
TVOPreflightCallQualityenum Swift name alias typo.
Size Impact
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.4 MB | 7.8 MB |
Twilio Voice SDK iOS 6.12.0
October 21, 2024
- Programmable Voice iOS SDK 6.12.0 [XCFramework] (checksum: fb8e743bba78df579814a5860bbea8cde9dd3cedd137df85f97be7cafb5adfc8).
API Changes
- New methods
[TwilioVoiceSDK runPreflightTestWithAccessToken:delegate:]and[TwilioVoiceSDK runPreflightTestWithOptions:delegate:]
to run a preflight test are added. - A new class
TVOPreflightOptionsis added. Use[TVOPreflightOptions optionsWithAccessToken:]or the builder
method[TVOPreflightOptions optionsWithAccessToken:block:]to create the options object as an argument when
calling the[TwilioVoiceSDK runPreflightTestWithOptions:delegate:]method. - A new class
TVOPreflightTestis added. This object cannot be initialized directly. Instead aTVOPreflightTest
object is returned when calling the[TwilioVoiceSDK runPreflightTestWithAccessToken:delegate:]and[TwilioVoiceSDK runPreflightTestWithOptions:delegate:]
methods. Please note that thestop()method can be used to disconnect the preflight test but will result in the
[TVOPreflightDelegate preflight:didFailWithError:]callback with theTVOPreflightTestStatusFailedstate of the
preflight test. - A new protocol class
TVOPreflightDelegateis added. Status updates of the preflight test will be raised via the
delegate methods in this class. - A new class
TVOPreflightReportis added. A comprehensive report object will be returned in the[TVOPreflightDelegate preflight:didCompleteWitReport:]
callback. The report can also be retrieved using theTVOPreflightTest.preflightReportproperty when the preflight test
has completed.
An example of making a preflight test
class ViewController: UIViewController {
var preflightTest: PreflightTest? = nil
func performPreflight() {
let preflightOptions = PreflightOptions(accessToken: accessToken, block: { builder in
builder.preferredAudioCodecs = [OpusCodec()]
})
preflightTest = TwilioVoiceSDK.runPreflightTest(options: preflightOptions, delegate: self)
}
}
extension ViewController: PreflightDelegate {
func preflightDidComplete(preflightTest: PreflightTest, report: PreflightReport) {
// Check the result in the report
}
func preflightDidFail(preflightTest: PreflightTest, error: any Error) {
// Check the failure reason in the error
}
func preflightDidConnect(preflightTest: PreflightTest) {
// preflight test has connected
}
}Bug Fixes
- This release uses a WebRTC patch that addresses a potential ICE gathering or network handover issue on iOS 18.
Size Impact
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.4 MB | 7.8 MB |
Twilio Voice SDK iOS 6.11.3
September 10, 2024
- Programmable Voice iOS SDK 6.11.3 [XCFramework] (checksum: 0d8bcd777590bb7cf441a37d8fedfd1ce5babb1885f94a1d9976de9acbcf1611).
Enhancements
- The SDK is now using reSIProcate 1.12.0 for the signaling connection.
- The SDK now supports Server Name Indication (SNI) during initial TLS handshake with Twilio infrastructure.
Known Issues
- The
TVOCallMessageBuilder.contentTypehas no effect on the content type of theTVOCallMessageobject. The content type always defaults toapplication/json.
Size Impact
| Architecture | Compressed Size | Uncompressed Size |
|---|---|---|
| arm64 | 3.3 MB | 7.6 MB |