shaps80 / SwiftUIBackports

A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
MIT License
960 stars 60 forks source link

Issues with project setup #28

Closed X901 closed 1 year ago

X901 commented 1 year ago

Hi, Everytime I install your library I got these errors BTW my minimum target is iOS 15 !

Screen Shot 2022-10-18 at 3 07 00 PM
shaps80 commented 1 year ago

I'm gonna need a sample project I'm afraid. Multiple other projects (not only mine) are using this without issue on iOS 13+ (and other  platforms) so it'll be some weird setup most likely.

anivaros commented 1 year ago

@X901 maybe you're using old Xcode version (lower 13.2)?

X901 commented 1 year ago

@shaps80 @anivaros This issue only happened with Xcode 13.1

anivaros commented 1 year ago

@X901 Apple backported concurrency to iOS 13 only in Xcode 13.2: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes#Swift

So there is no bug.

shaps80 commented 1 year ago

Oh good catch @anivaros and thank you for helping out! I had considered Xcode version but I had forgotten that the backport came later 👍👍👍