-
Notifications
You must be signed in to change notification settings - Fork 106
[BUG] Build Fails: AzureCommunicationCalling Not Compatible with Swift 6.2 Compiler #2390
Copy link
Copy link
Open
Labels
Communicationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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.Workflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
Communicationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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.Workflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
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):
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.