Skip to content

[BUG] Build Fails: AzureCommunicationCalling Not Compatible with Swift 6.2 Compiler #2390

@yasheedv

Description

@yasheedv

Describe the bug
When building an iOS project using the AzureCommunicationCalling SDK, the build fails with a compiler mismatch error. The SDK cannot be loaded because it was compiled with a different version of Swift than the one used by the current Xcode toolchain.

Exception or Stack Trace
Failed to build module 'AzureCommunicationCalling'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)', while this compiler is 'Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)'). Please select a toolchain which matches the SDK.

To Reproduce
1. Create a new iOS project in Xcode 26.3
2. Add AzureCommunicationCalling via Swift Package Manager.
3. import AzureCommunicationCalling.
4. Attempt to build the project.
5. The build fails immediately with the compiler mismatch error.

Code Snippet
NA

Expected behavior
The project should build successfully and the AzureCommunicationCalling module should be usable with the current Xcode/Swift compiler version.

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: iOS
  • IDE : Xcode 26.3
  • Version of the Library used - AzureCommunicationCalling 2.18.2

Additional context
• The issue is caused by a Swift compiler version mismatch: the XCFramework distributed by Microsoft for v2.18.2 was compiled with Swift 6.1.2, while the project is using Swift 6.2.4.

Metadata

Metadata

Labels

Communicationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions