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

Modular app with Rswift SPM installation needs to build each target to create R.generate #821

Open
brenovaladao opened this issue Mar 29, 2023 · 0 comments

Comments

@brenovaladao
Copy link

brenovaladao commented Mar 29, 2023

I'm working in an app where we have features in different modules within the same workspace. when I switch branches I need to build my feature modules in order to get the main app module running without errors. The error I get is the R.image etc couldn't be found.

My structure is:
Workspace

  • Projec1
    • Feature1 (target)
    • Feature2 (target)
  • AppProject
    • iOS app (target)

where I have
iOS app depends on Feature1 and Feature2, and Feature2 depends on Feature1

I have R.swift on SPM for all 3 modules, and it works perfectly, except for the need to build all modules as I mentioned above.

I'm using R.swift v7.2.4

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

1 participant