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

Compiling for watchOS fails #44

Closed
mickeyl opened this issue Jun 14, 2023 · 1 comment
Closed

Compiling for watchOS fails #44

mickeyl opened this issue Jun 14, 2023 · 1 comment

Comments

@mickeyl
Copy link

mickeyl commented Jun 14, 2023

I'm trying to build a library that uses SWCompression for watchOS, but it fails with:

error: The package product 'BitByteData' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SWCompression' from project 'SWCompression')

I noticed BitByteData's released version (2.0.2) Package.swift not defining any .platforms, perhaps cutting a new release for this would fix it.

mickeyl added a commit to Cornucopia-Swift/CornucopiaCore that referenced this issue Jun 14, 2023
This would fix compilation for `watchOS`, however it's blocked by
tsolomko/SWCompression#44.

Fixing this locally is easy, just download `SWCompression` and make it
depend on the `develop` branch of `BitBake`, where the missing
`.platform` statement is given.
@tsolomko
Copy link
Owner

A new version of BitByteData has been released, 2.0.3, that should address this issue. Please don't forget to run swift package update (or whatever you use as your dependency manager) to get it.

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