Xcode 14.3 - SupportSDK | Community
Skip to main content

Xcode 14.3 - SupportSDK

  • March 2, 2023
  • 10 replies
  • 0 views

Yuri12

Xcode 14.3 beta 2 is out and we're getting the following error when attempting to build it with the SupportSDK:

Failed to build module 'SupportSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.119.11 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK.

Is there a plan to update the SDK to support it anytime soon?

10 replies

  • March 7, 2023

Hey @yuri12, Any updates on this?


Eric27
  • March 7, 2023
Hi there,

You can find our stance on support beta versions of xcode here. Essentially, we make no guarantees that the SDK's will function until it becomes a GM release.

Sorry for the inconvienience. 

  • March 8, 2023

@eric27 I found this thread with a similar error containing steps to resolve it. Can you try updating your project's settings with the suggestion in the comment? Here is some more info on the build setting in the Swift docs.


Koen13
  • March 8, 2023

I believe the suggested steps by @app should be the way to go.

I understand your stance on supporting GM versions only, but consider the developer perspective: we are working on making our own software compatible too before the GM release goes live. Since we depend on your code and our code doesn't build without, we would appreciate the effort. 


Yuri12
  • Author
  • March 8, 2023

@eric27 I understand your stance. As long as it comes out with the GM (and crucially before the actual full release). Thank you for the response.

What is the status of the Swift Module Stability support? Swift 5.1 has been out and stable for a while now.


  • March 22, 2023

@eric27 hey! Last night Apple published Release Candidates for Xcode 14.3 and iOS 16.4 and projects with Zendesk SDKs still show the same errors when trying to compile:

1)

.../ZendeskMessagingSDK/MessagingSDK.framework/Modules/MessagingSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface:4:8 Failed to build module 'CommonUISDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.124.1 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK.

2)

'MainActor' is only available in iOS 13.0 or newer

Seems Apple has fixed the second one and hopefully it will be available in the following Release candidate, but the first one can be fixed by library authors easily (see my previous message in this thread).

It would be great to have Zendesk upgrade their SDK, as other library authors already did.

Thanks!


Charles17
  • April 4, 2023

Hi @eric27 has there been any update on this? Xcode 14.3 has been officially released and the Zendesk SDKs are still blocking our build. We're still seeing errors like these when building with the latest releases:

failed to build module 'CommonUISDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.124.1 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK.

failed to build module 'SupportSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.124.1 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK.

../CommonUISDK.framework/Modules/CommonUISDK.swiftmodule/arm64-apple-ios.swiftinterface:20:90: 'MainActor' is only available in iOS 13.0 or newer

We're using:

ZendeskCommonUISDK 8.0.0
ZendeskCoreSDK 4.0.0
ZendeskMessagingAPISDK 5.0.0
ZendeskMessagingSDK 5.0.0
ZendeskSDKConfigurationsSDK 3.0.0
ZendeskSupportProvidersSDK 7.0.0
ZendeskSupportSDK 7.0.0

Eric27
  • April 4, 2023

Hey folks, 

I'm syncing with the mobile dev team to see where they're at with the work to be able to support xcode 14.3. I'll post here once I have an update. 

Thanks for your patience! 


Mick11
  • April 5, 2023

Hi folks,

We've tested this internal, and both issues mentioned above by @app are resolved in the main build (post RC) of xCode 14.3. Once you have upgraded to the latest version of xCode 14.3, this should be resolved. If that's not the case, please just reply here with any relevant information, and we'll re-investigate.


Charles17
  • April 5, 2023

Ahh, okay that was our issue @mick11. The build was failing with the 14.3 RC, but all is good with the official release. Thank you!