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

Tuist #911

Open
alessdiimperio opened this issue Sep 22, 2024 · 1 comment
Open

Tuist #911

alessdiimperio opened this issue Sep 22, 2024 · 1 comment

Comments

@alessdiimperio
Copy link

I'm trying to migrate over to Tuist an can't seem to get R.swift working.
The files are generated in some derived data directory complaining about RswiftResources not being available. 🤔

Anybody using tuist and rswift together that have solved this?

(i am aware that i can fetch the rswift executable directly and use it but was somewhat hoping for a cleaner solution. any tips welcome.

@tomlokhorst
Copy link
Collaborator

I haven't used Tuist, but make sure to depend on RswiftLibrary in the target that you use Rswift in.

See the steps for SPM here: https://github.com/mac-cain13/R.swift?tab=readme-ov-file#packageswift-based-spm-project

The R.swift plug-in does generate files in the derived data directory, in Xcode and SPM packages, they are compiled along with the rest of the source code. Again, I haven't used Tuist, but I assume that would work the same way there.

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