Skip to main content

Hello

I am trying to upgrade iOS SDK, after including latest XCFreamwork, I am getting following error while build the APP.

 

“Failed to build module 'AmplitudeSwift'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)', while this compiler is 'Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)'). Please select a toolchain which matches the SDK.”

I used XCFramework from following link which gave me the error reported below.

https://github.com/amplitude/Amplitude-Swift/releases

 

I also tried building it using Carthage like below by modifying cart file

github "amplitude/Amplitude-Swift" ~> 1.11.7

 

I think Amplitude need to give XCFramework with newer version of SWIFT.

Please advise.

Hi Sameer,

I am from Amplitude Support! This issue would be better resolved off of community as we will need to look at your custom set up. Is it ok if we move the conversation there?

Best,
Sydney


P.S. Checkout upcoming events and user meetups on our events page.

I figured it out.

Thanks


Hi Sameer,

Perfect! I will close your ticket now. I hope you have a nice day!

Best,
Sydney


P.S. Checkout upcoming events and user meetups on our events page.