You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Please assist me in resolving this issue.
Thanks
The text was updated successfully, but these errors were encountered:
I’m not familiar with Jenkins, but I suspect you need to disable plugin validation, like with Xcode Cloud. See: https://github.com/mac-cain13/R.swift?tab=readme-ov-file#when-running-on-xcode-cloud
On 17 May 2024, at 18:07, SaravanakumarNatarajan2931 ***@***.***> wrote:
I too facing this issue, @tomlokhorst any idea about this issue to fix?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
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
Please assist me in resolving this issue.
Thanks
The text was updated successfully, but these errors were encountered: