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 15 Build error: Stored properties cannot be marked potentially unavailable with '@available' #43

Closed
bilalshams7 opened this issue Sep 22, 2023 · 3 comments

Comments

@bilalshams7
Copy link

Because of the dependency R2Streamer i can not run for IOS with XCode 15.

Swift Compiler Error (Xcode): /Users/coderythm/workspace/Digilib/bilal/wordrobe_mobile_app/ios/Pods/R2Streamer/Sources/Streamer/Server/PublicationServer.swift:364:6 Stored properties cannot be marked unavailable with '@available'

XCode version : 15.0
pods version : 1.12.1

@mickael-menu
Copy link

I just released Readium 2.6.0 which works on Xcode 15.

# NOTE: Upgraded to `develop` branch due to https://github.com/readium/swift-toolkit/pull/307#issuecomment-1587435175
# this can be changed to a stable version > 2.5.0 once `develop` is released.

@bilalshams7
Copy link
Author

I just released Readium 2.6.0 which works on Xcode 15.

# NOTE: Upgraded to `develop` branch due to https://github.com/readium/swift-toolkit/pull/307#issuecomment-1587435175
# this can be changed to a stable version > 2.5.0 once `develop` is released.

Worked for me. Thank you @mickael-menu for commenting

@jspizziri
Copy link
Contributor

jspizziri commented Sep 23, 2023

@bilalshams7 thanks for reporting. To close the loop on this, I've updated the documentation and example project to leverage the proper versions for Xcode 15 compliance.

Thanks @mickael-menu , as always!

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

3 participants