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
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
Right-click on your project, click RswiftModifyXcodePackages, click Run, click Allow Command to Change Files
Build your project, now the R struct should be available in your code, use auto-complete to explore all static references
The text was updated successfully, but these errors were encountered:
Issue 1: Could not find module 'RswiftResources'
This issue is related to the R.swift library. It seems like there's a mismatch between the target architectures. The library is found for arm64-apple-macos but not for x86_64-apple-macos. You might need to ensure that the R.swift library supports the target architecture.
try updating your R.swift library to the latest version or checking its compatibility with your Xcode version
issue 2: Command SwiftEmitModule failed with a nonzero exit code (vII ArgumentParser)
This issue is related to the ArgumentParser library. A nonzero exit code usually indicates a compilation error.
ensure that you have the latest version of ArgumentParser compatible with your Swift version.
Check if there are any specific compiler flags or settings required by ArgumentParser, and make sure they are correctly configured.
Hello!
I install via SPM
Xcode project - SPM
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
Right-click on your project, click RswiftModifyXcodePackages, click Run, click Allow Command to Change Files
Build your project, now the R struct should be available in your code, use auto-complete to explore all static references
The text was updated successfully, but these errors were encountered: