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

[BUG] "Stored properties cannot be marked unavailable with '@available'" in Xcode 15 beta #143

Closed
tkafka opened this issue Jun 6, 2023 · 3 comments

Comments

@tkafka
Copy link

tkafka commented Jun 6, 2023

These two locations in the code fail to compile under Xcode 15 beta 1:

Stored properties cannot be marked unavailable with '@available'
https://github.com/superwall-me/Superwall-iOS/blob/d89049bbb6fcd7aaa93bfd486b3fbda9f7c3cb59/Sources/SuperwallKit/Paywall/Presentation/PaywallInfo.swift#L19

Stored properties cannot be marked unavailable with '@available'
https://github.com/superwall-me/Superwall-iOS/blob/d89049bbb6fcd7aaa93bfd486b3fbda9f7c3cb59/Sources/SuperwallKit/Analytics/Superwall%20Event/SuperwallEventInfo.swift#L18

@tkafka
Copy link
Author

tkafka commented Jun 6, 2023

Here's a quick fork with commenting out the problematic attributes (which is of course not the good solution):
https://github.com/tkafka/Superwall-iOS/tree/tk/release-3.0.1-fix-xcode-15

@yusuftor
Copy link
Collaborator

yusuftor commented Jun 7, 2023

Thanks for this. The develop branch has a fix for this now and will be released with the next version of Superwall. I'll leave this issue open until that gets merged to master.

@yusuftor yusuftor mentioned this issue Jun 16, 2023
6 tasks
@yusuftor
Copy link
Collaborator

Released in 3.0.2!

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

No branches or pull requests

2 participants