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

No watchOS in CocoaPods #800

Closed
Knochenmann opened this issue Jan 11, 2023 · 2 comments
Closed

No watchOS in CocoaPods #800

Knochenmann opened this issue Jan 11, 2023 · 2 comments

Comments

@Knochenmann
Copy link

Knochenmann commented Jan 11, 2023

Dear Developers,

recently I encountered a problem with the updating framework via CocoaPods from v6.1.0 to v7.2.4 because of the error in Terminal:

[!] The platform of the target MyTarget (watchOS 7) is not compatible with R.swift (7.2.4), which does not support watchOS.

In this target (dynamic library) I have only WatchOS as a supported destination.
Any solution? I can't find any problem on my side...

@tomlokhorst
Copy link
Collaborator

tomlokhorst commented Jan 13, 2023

R.swift 7 indeed doesn't support watchOS on CocoaPods.

Whenever I try to add it to the podspec, I run into a validation error when trying to push to trunk.
This appears to be caused by this issue: CocoaPods/CocoaPods#11558.

I think we need to wait for CocoaPods/CocoaPods#11660 to be released, then we can enabled watchOS again.

In the mean time, you can continue to use v6.1.0 of R.swift, from when watchOS was still working in CocoaPods.
Alternatively, you can also switch to SPM to install R.swift.

@tomlokhorst tomlokhorst changed the title CocoaPods Updating Error to v7.2.4 No watchOS in CocoaPods Jan 21, 2023
@tomlokhorst
Copy link
Collaborator

CocoaPods have fixed the bug.

R.swift now supports watchOS again, as of 7.3.0

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