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

Jenkins error: “RswiftGenerateInternalResources” must be enabled before it can be used #895

Open
kathiravan-raju opened this issue May 10, 2024 · 4 comments

Comments

@kathiravan-raju
Copy link

kathiravan-raju commented May 10, 2024

I have Integrated the R.swift framework via spm in my project. And then enabled the RswiftGenerateInternalResources in xcode while building the application in Xcode.
Followed below steps while integrating R.swift in my project.
In Project Settings, on the tab "Package Dependencies", click "+" and add github.com/mac-cain13/R.swift
Select your target, on the tab "General", in the section "Frameworks, Libraries, and Embeded Content", click "+" and add RswiftLibrary
Select your target, on the tab "Build Phases", in the section "Run Build Tool Plug-ins", click "+" and add RswiftGenerateInternalResources
Build your project, now the R struct should be available in your code, use auto-complete to explore all static references

It working fine when I run the application locally in my Xcode but the Jenkins build failed with the below error message
error: “RswiftGenerateInternalResources” must be enabled before it can be used
Screenshot 2024-05-10 at 2 26 17 PM

Please assist me in resolving this issue.
Thanks

@kathiravan-raju
Copy link
Author

kathiravan-raju commented May 16, 2024

Hi,
Could somebody please take a look into the above issue?. Its a blocker for me to integrate the R.swift via SPM
Thanks in advance

@SaravanakumarNatarajan2931

I too facing this issue, @tomlokhorst any idea about this issue to fix?

@tomlokhorst
Copy link
Collaborator

tomlokhorst commented May 17, 2024 via email

@SaravanakumarNatarajan2931

ok @tomlokhorst let me try that things.

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

3 participants