sportradar / MobileSDK

Mobile SDK for pods
Other
0 stars 2 forks source link

Xcode 12 / Swift 5.3 compatibility #1

Open jossittelija opened 3 years ago

jossittelija commented 3 years ago

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 commented 3 years ago

The same MobileUI version problem after updating Xcode to 12.2.

sportradar-mobile commented 3 years ago

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

akonakov commented 3 years ago

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 commented 3 years ago

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

akonakov commented 3 years ago

What about MobileUI?

sportradar-mobile commented 3 years ago

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

panoslapousis commented 3 years ago

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 commented 3 years ago

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

CRoig commented 2 years ago

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 commented 2 years ago

Version 3.8.24 is released (compatible with Xcode 13.1).

panoslapousis commented 2 years ago

Will you please provide a version for Xcode 13.2.1?