[Bug] Compilation failed on Xcode 16.4 due to Swift module incompatibility | Community
Skip to main content

[Bug] Compilation failed on Xcode 16.4 due to Swift module incompatibility

  • October 16, 2025
  • 1 reply
  • 0 views

Maxim11

Environment: 

- Xcode Version: 16.4 (16F6) 

- AnswerBotSDK Version: 6.0.2

- Dependency Manager: xcframework 

Description:

Hello Team, When I try to connect the answer bot, the xcode does not allow me to compile this library, our project fails to build with the following Swift module incompatibility error. 

Error Log:
Failed to build module 'AnswerBotSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)', while this compiler is 'Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)'). Please select a toolchain which matches the SDK.

Expected Behavior:

The project should compile successfully with Xcode 16.4. 

Request:

It appears the pre-compiled binary for the current version of the SDK is not compatible with the Swift compiler included in Xcode 16.4. Could you please provide a new build of the SDK compiled with this Xcode version? Thank you!

1 reply

Greg29
  • October 21, 2025
Hi Maxim! 
 
I can pass this along to the SDK team, however I don't know what their timeframe will look like for this. In the interim, I would recommend compiling from source for the time being. I'll drop you an update as soon as I learn more.