apptentive / apptentive-kit-ios

ApptentiveKit SDK for iOS and iPadOS
https://www.apptentive.com
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Errors when building with Xcode 12.5 #5

Closed dotswift closed 2 years ago

dotswift commented 2 years ago

When building an app with v6.0.0 installed via Swift Package Manager, I am unable to build using Xcode 12.5. Below is a screenshot of the errors I'm receiving. I have recreated this issue with multiple workstations.

Perhaps the SDK was only meant to be built in Xcode 13 or a later version of Swift? If so, please close and ignore :)

Thanks to anyone who can help!

Screen Shot 2022-03-23 at 11 39 47 PM
frankus commented 2 years ago

Thanks for the heads up. We do currently only support Xcode 13 and later, but we could look at supporting 12.5 in an update, especially if it's just a matter of declaring some protocol conformance explicitly.

frankus commented 2 years ago

I've done a bit of testing and it's looking like supporting Swift versions prior to 5.5 would be a considerable amount of work, and probably not something we could prioritize soon enough to be useful (i.e. before most everyone has moved to Xcode 13).

dotswift commented 2 years ago

@frankus Understood, thanks for following up. I appreciate your help.

frankus commented 2 years ago

I did update the swift-tools-version to 5.5, so folks in your situation should at least get a warning before integrating the package.

Thanks again for the report!