-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQ] AzureCommunicationCalling - Swift 5.7 support #1403
Comments
Hi @jpamarohorta thanks for the report! @raosanat can you comment on here when you expect a compatible version of Calling to be released? |
Hi @jpamarohorta, |
i had the same error on Mac Mini M1, using Xcode in rosetta mode fixed the issue |
Hello @lucianopa-msft , I'm installing via cocoapods and it was version |
@jpamarohorta how does your Podfile look like ? Can you send it here ? |
@jpamarohorta |
i couldn't use version 2.2.2 (and 2.3.0-beta.4). Even with Rosetta mode enabled or just with a physical device. Will the frameworks be build with BUILD_LIBRARY_FOR_DISTRIBUTION set to YES? This will make the framework less dependent on specific swift version |
What are the errors you were seeing?
Yes |
sorry for the late response, but the error is the same as above error: compiling for iOS 12.0, but module 'AzureCommunicationCommon' has a minimum deployment target of iOS 13.0: /Users/rbuiten/Library/Developer/Xcode/DerivedData/project-cuvhuaakbyehnodmsutkqpqtyckv/Build/Products/NL_ACC-iphoneos/AzureCommunicationCommon/AzureCommunicationCommon.framework/Modules/AzureCommunicationCommon.swiftmodule/arm64-apple-ios.swiftmodule ../CommunicationIdentifierExtension.swift:9:8: error: failed to build module 'AzureCommunicationCalling'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)', while this compiler is 'Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK. |
Hi @rbuiten, the main error seems to be related to target |
hmm ok. I did update the minimum deployment target to 13. So, it's strange. But when I update the pod and set the deployment target to 12 it will work. |
Hello, I'm currently having the same issue but now with Xcode 14.3 and Swift 5.8. I get the following error: Is there a solution for this type of issues or do we need to wait for a new release compatible with the latest swift? I'm using the latest pod |
Did 2.3.0 version worked? We ship with |
@lucianopa-msft I'm facing the issue on my M1 computer and using a physical phone device:
|
Hi @ashfaqadib, |
Also if you are trying to build targeting simulator or device arch? |
Hi @lucianopa-msft, I'm currently using AzureCommunicationCalling (1.0.1) following the Voice Calling Quickstart guide. I'm on XCode Version 14.3.1 and Swift version 5.8.1. I'm trying to build on my physical device with iOS 12. I haven't still figured out a fix for the issue. |
Can you try with the latest version? 2.8.0? We still support iOS 12 in our latest releases so it would not be an issue |
If that doesn't work, can you submit a sample minimized project zip that repros this? |
Is your feature request related to a problem? Please describe.
We are unable to use the SDK with the most recent Xcode (14.1) and Swift 5.7.
Describe the solution you'd like
A version of the SDK that would be compatible with Swift 5.7.
Describe alternatives you've considered
We tried to change the toolchain used in this project by Xcode to Swift 5.6 however it caused issues with other dependencies on our app.
Additional context
The error we are receiving when building with Swift 5.7 is:
Failed to build module 'AzureCommunicationCalling'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)', while this compiler is 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)'). Please select a toolchain which matches the SDK.
Information Checklist
The text was updated successfully, but these errors were encountered: