Skip to content
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

Xcode 12 / Swift 5.3 compatibility #1

Open
jossittelija opened this issue Sep 23, 2020 · 11 comments
Open

Xcode 12 / Swift 5.3 compatibility #1

jossittelija opened this issue Sep 23, 2020 · 11 comments

Comments

@jossittelija
Copy link

Using latest version 3.8.15 via Cocoapods with XCode12 produces following error:

Module compiled with Swift 5.2.2 cannot be imported by the Swift 5.3 compiler.

Please provide workaround or new release that fixes this problem.

@akonakov
Copy link

The same MobileUI version problem after updating Xcode to 12.2.

@sportradar-mobile
Copy link

sportradar-mobile commented Nov 17, 2020

Following versions were released yesterday (for Xcode 12.2 compatibility):

  • SRSDK 3.8.18
  • MobileUI 3.3.2
    Please perform pod repo update or specify the versions explicitly in the Podfile.

@akonakov
Copy link

akonakov commented Apr 28, 2021

And again - the same problem with Xcode 12.5 / Swift 5.4

Please, check this: https://stackoverflow.com/a/58656323/2305946, this could be a solution for future releases.

@sportradar-mobile
Copy link

New version was released yesterday. It has BUILD_LIBRARY_FOR_DISTRIBUTION support and it's packed as xcframework starting with 3.8.22.

@akonakov
Copy link

What about MobileUI?

@sportradar-mobile
Copy link

Version 3.3.3 is now live (same settings as SRSDK).

@panoslapousis
Copy link

Hello.
I get the following error in Xcode 12.5. SRSDK version 3.8.22.

Failed to build module 'SRSDK' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)'

@sportradar-mobile
Copy link

sportradar-mobile commented Jun 3, 2021

There are new versions available (compatible with Swift 5.5):
SRSDK: 3.8.23
MobileUI: 3.3.4

@CRoig
Copy link

CRoig commented Dec 10, 2021

Do you have any version compatible with 5.5.1?? We are working with Xcode 13.1 (13A1030d)

Plus, I have some problems fetching xcframework file using pod install. Dependencies are fetched properly but SRSDK folder is empty. My pod file is this one.

pod 'SRSDK', :git => 'https://github.com/sportradar/MobileSDK.git'

Note the snippet on README does not work as it raises a Locksmith version incompatibility problem.

@sportradar-mobile
Copy link

Version 3.8.24 is released (compatible with Xcode 13.1).

@panoslapousis
Copy link

Will you please provide a version for Xcode 13.2.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants