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

macOS Build Failure #11

Closed
eleev opened this issue May 18, 2023 · 1 comment
Closed

macOS Build Failure #11

eleev opened this issue May 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@eleev
Copy link
Contributor

eleev commented May 18, 2023

Hi,

Issue Description

While trying to build the package for a macOS target, I encountered a build failure. The failure is caused by the recent integration of a new API that doesn't include the #available attribute to ensure backwards compatibility with earlier macOS versions.

Steps to Reproduce

Clone the repository onto a macOS system running a version 13.0+.
Run swift build in the terminal or Xcode. The build fails for the macOS target.

Expected Result

The project should build successfully, regardless of the macOS version.

Actual Result

The build fails with an error message indicating that the new API is not available in the macOS version being used and suggesting that #available attribute is used to fix it.

Next Steps

I'm going to follow up with a pull request with a fix and a small refactoring. #12

@eleev eleev added the bug Something isn't working label May 18, 2023
ivanvorobei added a commit that referenced this issue May 18, 2023
Fix a compilation failure & made refactoring
@ivanvorobei
Copy link
Member

Closed because resolved by PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants